ons-input and datalist

  • Hi,

    Does ons-input support datalist?
    Data is showing when I inspect the datalist, however ons-input does not show suggested data based from the user input.

    Any ideas? Thanks.

    I am trying to create an autocomplete textbox

  • Onsen UI

    @tiralcodes datalist is not very well supported by browsers yet. Therefore, I think we don’t need to worry about it yet. You can just use ons-input + ons-list in order to display the entries. Just save every entry into an array and then use the input event to filter.

  • Got the idea man! Thanks again fran!