How to call a formatter function with a static value from XML view?
I already tried:
<Input enabled="false" value="{'TestString', formatter:'.passStaticValue'}" />
There is no (syntax) error but the formatter will not call.
If I use the path-property everything works well.
I want to use this formatter function several times at several places:
- One part with a value from the model
- The other part as a static value.
The static value is to control the logic inside the formatter.