Skip to Content
0

Sap.m.Multiinput not working properly in IE

Mar 03, 2017 at 06:47 AM

32

avatar image
Former Member

Hi Experts,

I am using sap.m.multiInput in one of my SAP UI5 application which has a requirement to take multiple inputs from excel and then send the data back to SAP system system through payload.

Its working fine in chrome ,however in IE only first value from excel is pasted in multiinput field.

Find below code for reference :

oNumberInput.addValidator(function(args){

var allText = args.text;

var textArray = allText.split(/\s+/);

var length = textArray.length;

for(var i=0; i<length ; i++) {

if(textArray[i].length>10){

textArray[i] = textArray[i].substring(0, 10);

}

var oToken = new sap.m.Token({

key: textArray[i], text: textArray[i]}); args.asyncCallback(oToken);

}

return sap.m.MultiInput.WaitForAsyncValidation;

});

Request you to please provide you valuable inputs.

Your help is highly appreciated !!.

Thanks,

Riya

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers