I have a model filed in my JSONMOdel. The name of field id LENGTH_M
(lenght in meters)
In my app I use (view and edit) it into two position (two input https://openui5.hana.ondemand.com/docs/api/symbols/sap.m.Input.html)
1st input is:
Length:
________
(m)where user should insert the lenght in meters
2nd input is:
Length:
________
(mm)where user should insert the lenght in millimeters
I want insert in both case in the model the value 2 (in meters)
How can I do it if I want bind 1st and 2nd input with the same model property LENGTH_M
?
DateTimeInput https://openui5.hana.ondemand.com/explored.html#/entity/sap.m.DateTimeInput/properties has a good property displayFormat
. I can use it to show the property model in different modes. There is something like that in Input component??
I have tried to use formatter but it does not seem to work...