Re: [web2py]: Empty dropdown value

2018-06-27 Thread Gaurav Shet
Thank you guys! Zero=None works for me perfectly :) On Wed, Jun 27, 2018 at 8:13 PM Anthony wrote: > On Wednesday, June 27, 2018 at 9:45:30 AM UTC-4, Leonel Câmara wrote: >> >> Or simply set zero=False and it will be the first option. >> > > If you want to exclude that first option, it should b

Re: [web2py]: Empty dropdown value

2018-06-27 Thread Anthony
On Wednesday, June 27, 2018 at 9:45:30 AM UTC-4, Leonel Câmara wrote: > > Or simply set zero=False and it will be the first option. > If you want to exclude that first option, it should be zero=None. Setting zero=False will still show a blank first option, but simply assign the value False if it

Re: [web2py]: Empty dropdown value

2018-06-27 Thread Leonel Câmara
Or simply set zero=False and it will be the first option. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscr