on 03-29-2024 8:25 AM
When I write a UI5 XML element, I use format function to set its visibility. For example:
<Title text="{
parts:[
'label1'
{path:'color'},
],
formatter: '.formatter.getVisibility'}"
/>
And I want the first parameter, in this case is "label1", is passed into formatter function as a plain string.
But actually, I find out UI5 just drill down of the binding object, it pass the value of variable bindingObject.label1 as first parameter, of course it's undefined.
Is it possible just pass a plain string "label1" to the formatter function?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
76 | |
8 | |
8 | |
8 | |
7 | |
6 | |
5 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.