on 2016 Feb 24 1:27 PM
Hi All ,
I have a multiinput field which is calling a valuehelpdialog to fill inside it. I also can fill multiinput manually by addValidator function below .
oMatnr.addValidator(function(args){
var text = args.text;
return new sap.m.Token({key: text, text: "="+text}).data("range", { "exclude": false, "operation": sap.ui.model.FilterOperator.EQ, "keyField": "Matnr", "value1": text});
});
I can access text and key property of Tokens , but I also need to access Sign,Option,Low,High properties of range . Because user can be add ranges from valuehelpdialog as well .
So my question is how I can take range from tokens of multiinput or valuhelpdialog ?
Best Regards,
Onur
Request clarification before answering.
Hi All,
I found the solution , it is possible to get range of Token with this code below .
var range = oMultiinputField.getTokens()[i].data().range;
Best Regards,
Onur
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
9 | |
8 | |
7 | |
5 | |
4 | |
4 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.