cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

SAPUI5 SmartMultiInput adding tokens while binded to entityset

former_member193947
Participant
2,629

Hi Experts,

I am using SmartMultiInput for which an entity set is bounded. I don't find a property to add tokens to the input field which i find in other input fields. Can somebody help to find an alternative way to do that ?

Thanks.

Accepted Solutions (1)

Accepted Solutions (1)

former_member193947
Participant
0 Likes

This issue is solved by accessing the smartmultiinput field by id and it's parameter _oMultiInput.addToken(newToken).

Answers (3)

Answers (3)

0 Likes

Hello,

Can you please elaborate the requirement, it will be easy to analyze if you can provide plunker/JSbin examples.

Thanks,

Kumar Karanam

former_member193947
Participant
0 Likes

Hi Kumar,

My requirement is to populate one Smartmultiinput field with set of tokens based on entering text and hitting enter key on another Smartmultiinput field. For example, if one field is of type country and if user enters IN to press enter, another field should get populated with all the list of states. Hope it is clear now.

Thanks.

former_member193947
Participant
0 Likes

Thanks and I went through the link ibrahim. But my requirement is to add tokens individual tokens to a different input field after some additional retrieval logic.

former_member370623
Active Participant
0 Likes

Hi
did you check the example
Smart Multi Input Example