Closed jiaweichong closed 6 months ago
Hello @jiaweichong,
Thank you for reporting the issue.
Unfortunately, this behaviour is browser & OS specific, we checked it with native input HTML element and it is the same. We rely on the native behaviour and don't have special handling for it.
Regards, Nikolay
Hi @ndeshev,
Here is the link - https://sapui5.hana.ondemand.com/#/entity/sap.m.Input/sample/sap.m.sample.InputTypes
If you try to enter something in the Number field on desktop, you will notice that the field only accept number.
While if you are using a mobile device, any value can be entered
This behavior is consistent on any mobile device, was tested on multiple tablets and mobile phone and they show the same output.
Can you please reopen this ticket again?
Thanks, Jia Wei
Hello,
As I said, it is native HTML input behaviour specific for different browsers and operating systems and we rely on it. On Chrome/Win11 no letters can be typed in, while in FF and Safari is the opposite.
On my Android phone also there is no issue, while on iOS devices there is.
OpenUI5 version: 1.98
Browser/version (+device/version): Cordova app running on iOS, Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148
Any other tested browsers/devices(OK/FAIL): Working on desktop, failed on iOS
URL (minimal example if possible): https://sapui5.hana.ondemand.com/sdk/#/entity/sap.ui.model.type.Float
User/password (if required and possible - do not post any confidential information here):
Steps to reproduce the problem:
Second example -
What is the expected result? Only numeric value can be entered
What happens instead? All text can be entered on a Input with Float type
Any other information? (attach screenshot if possible)