I would like to format a numeric input field value according to Tag formatString property. I did not find the proper way to achieve that. Dose anyone have a tricks ?
Have you tried binding the tag's format property to the numeric field's format property? If you utilize this then it should allow for an indirect bidirectional binding on the actual value.
You can also do indirect binding on the format property:
Also, something to keep in mind with use of tag
in expression bindings:
Thanks @ryan.white
Yes, it works with binding tag's format property to numeric field's format property. That's nice.
So, I did it with expression as a result it is more convinient for me :
Value:
Format :
@pturmel, What do you mean by :
No
tag()
function! Everywhere in a UI you think you need atag()
function, train yourself to split off a custom property with an indirect binding.
Do you mean the first methode is more suitable ?
Yes, use Tag Binding instead of Expression Binding with any tag()
function.