Thanks for the quick reply.
When i use the following code i got the tokens from the returned object.
var oMultiInput = this.getView().byId("multiInputID");
Able to show the tokens length.
oMultiInput.length;
But when i try to iterate using the following code. i am getting the following error for the method: oToken.getkey(). Can you let me know how to iterate this tokens to get the keys and text.
Uncaught TypeError: oToken.getkey is not a function
var oMultiInput = this.getView().byId("multiInputID");
if(oMultiInput!=null){
console.log(oMultiInput);
var oToken = oMultiInput.getTokens();
if(oToken.length >0){
console.log(oToken.length);
for(var i=0; i<oToken.length; i++){
var oKey= oToken.getkey();
console.log(i+":"+oKey);
}
}
}
Thanks