sap.m.InputType.Number causes getValue to return empty string when the value is alphanumeric
I'm not sure if this is intended functionality, but you can close this immediately if it is.
When using the getValue() method on a sap.m.Input of type sap.m.InputType.Number it will return and empty string if alphanumeric characters are present.
Please see this example: http://jsbin.com/susuvukaru/4/edit?html,js,output
I would not have expected this, mainly because the numeric keyboard android uses allows input of:
.,-+SPACE
Also, on a PC you can type anything in you like.
Hi Lucien, thanks for reporting. I forwarded this to the developer to verify this behavior. Best! Thilo
@thilo-dev any update on this? And is there an internal incident?
We've run into this as well... Any news?
best regards, David
Same issue also the control let user enter character 'e' as well
best regards, Jimmy
#1680298773 opened
Thanks and Kind Regards, Diana, SAPUI5 Dispatcher
Hello @LucienCooper,
Thank you for the ticket! This is the expected behaviour. Anything that is not a number is invalid.
Best Regards, Gergana