Closed Mosheh closed 5 months ago
Hello @Mosheh,
Can you please try using the StepInput control with displayValuePrecision? https://ui5.sap.com/#/api/sap.m.StepInput%23controlProperties
It allows you to chose the number of allowed digits after the decimal point.
Hello,
Since there is no response from the author for more than 4 weeks I'm closing the ticket.
Kind Regards, Niya
OpenUI5 version: https://sapui5.hana.ondemand.com/1.119.2/resources/sap-ui-core.js
Browser/version (+device/version): Versão google chrome 122.0.6261.69
Any other tested browsers/devices(OK/FAIL): This is a feature
Necessity: We need a way to pass a model to formatOptions in Input control controller: var MyModelConfiguration = {MyPropertyDecimalPlaces: 6 }; view.SetModel(new JSONModel(MyModelConfiguration), 'MyModelConfiguration');
view
Steps to reproduce the problem:
What is the expected result? We need the Input control to accept only values with specific decimal places
What happens instead? Today there is no way to do this.
Any other information? (attach screenshot if possible)![image](https://github.com/SAP/openui5/assets/191274/fe739ffc-af88-4a5d-b576-a5f4dfab1a57)