Page 1 of 1

Dropdown defaulted to first item when set 'Required'

Posted: 2017-03-11 10:45
by labib saleh
Using AppGini 5.51

I'm facing this problem with lookup dropdowns, that is when I set the field to 'Required', I get it populated with the first item in the list by default.. If user overlooked that and didn't change it they would get the record saved with a wrong value.
How can I fix that so dropdowns would initially have blank value or maybe 'Select' so they are forced to select an item?

Re: Dropdown defaulted to first item when set 'Required'

Posted: 2017-03-11 11:41
by AhmedBR

Re: Dropdown defaulted to first item when set 'Required'

Posted: 2017-03-11 20:35
by labib saleh
Awesome, thanks Ahmad. I set the default value in AppGini to '1' and it did the trick :mrgreen: