0

I'm developing an app with a login and I need use an autocomplete input. In HTML is easy to develop it, but I don't know how to implement.

I find a solution where set data to the input, but in my case, I can't do it.

Example:

First Time: Log with the name: "Name1" Second Time: Log with the name: "Name2" Third Time: When the user write "N", the input must show "Name1", "Name2"

Thanks!

Pablo Garcia
  • 343
  • 6
  • 23
  • 1
    Possible duplicate of [How to add browser cache autocomplete in SAPUI5 Input field?](http://stackoverflow.com/questions/42778647/how-to-add-browser-cache-autocomplete-in-sapui5-input-field) – Serban Petrescu Mar 27 '17 at 19:04

1 Answers1

2

Please use sap.m.Input and set it's property showSuggestion to true, also bind suggestionItems as in this example.

Jaro
  • 1,739
  • 1
  • 13
  • 35