on 05-01-2014 5:34 PM
Is there an AutoComplete control (currently only for desktop) planned for SAPUI5 mobile? I guess it will be part of the m-package at some point, but am wondering whether anybody (of the UI5 team or outside) is already working on the AutoComplete desktop equivalent for mobile, and if so, when it would be available.
The sap.m.Input control supports the ability to show suggestions.
<Input
id="productInput"
type="Text"
placeholder="Enter Product ..."
showSuggestion="true"
showValueHelp="true"
valueHelpRequest="handleValueHelp"
suggestionItems="{/ProductCollection}" >
<suggestionItems>
<core:Item text="{Name}" />
</suggestionItems>
</Input>
Regards,
Jason
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I found that the suggestions are limited to 100 items (default for any model).
In this post (awiedemann.com &bull; SAPUI5 / oData / JSON model - set size limit) is described how to change the limit for a model, but how can it be done for a binding that is defined in xml, like in the code above:
suggestionItems="{/ProductCollection}"
?
User | Count |
---|---|
77 | |
9 | |
7 | |
6 | |
6 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.