on 03-03-2017 6:47 AM
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
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.