Skip to Content
author's profile photo Former Member
Former Member

Issue with delete token in sap.m.MultiInput using model binding

Hi Guys,

I am facing some issue with sap.m.MultiInput for deleting first tokens.

I have created example in JS Bin - JS Bin - Collaborative JavaScript Debugging

Here I am adding tokens dynamically using model binding (using bindAggregation) in MultiInput control.

But when I am trying to delete first token from MultiInput its deleting second token as well.

On delete I am removing the data from JSON and then again binding it to model.

Please help me.

Regards,

Sumit Khedkar.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    Posted on Nov 18, 2015 at 07:02 AM

    HI Sumit

    I believe that there is a bug in the control and hence you are seeing this problem. Your code looks ok.

    I have modified your jsbin to get round the bug.

    JS Bin - Collaborative JavaScript Debugging

    Thanks

    -D

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.