on 2017 Oct 14 2:00 AM
Hi,
I tried to display suggestion items by implementing livechange event to sap.m.input field by concatenating multiple field values to text property. It works fine as expected. But, on selecting one in the list of suggestion items, the complete text get's displayed in the input field, while i want only first word of the concatenated text to be displayed. Is it possible to achieve ? If yes, can you please point me some sample code to achieve it ?
Thanks.
Help others by sharing your knowledge.
AnswerRequest clarification before answering.
Hi,
A working example via JSfiddle/JS Bin etc. would have been helpful to get you to where you want and write the code suggestions. Even code snippets of some sort.
Based on what you have described, why not use other events to control that behavior like submit? Or change it to suggest and then use suggestionItemSelected?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
58 | |
10 | |
8 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.