[web2py] Re: How to use HTML5 datalist for Select/dropdown widget ?

2014-06-06 Thread Niphlod
you'd have to code your own widget, that is not that difficult. That being said, it's a taddle bit foolish wanting to inject 3k options in a page: datalist is "cool" over the standard "select", but it doesn't cut the weight of the markup. I'd go with select2 and items loaded via ajax, so you ca

Re: [web2py] Re: How to use HTML5 datalist for Select/dropdown widget ?

2014-06-08 Thread Mandar Vaze / मंदार वझे
> BTW, the autocomplete widget included in web2py seems a pretty clear > winner in this usecase, if you don't want to fiddle with select2. > I looked thru http://web2py.com/books/default/chapter/29/11/jquery-and-ajax#Auto-completion Is there a way to integrate this with SQLFORM.grid (I need auto-c