Skip to Content

Smartfield input type

Feb 09 at 02:52 PM


avatar image


on my UI5 web app i've created a simple input form with Smartfield input controls.

I've created the annotation service to provide field informations such as Label List items etc.. And all works fine on desktop.

The problem is: on mobile when i select a numeric input field i what that numeric input keybord is proposed by device, instead ABC keyboard is always showed up.

I've implemented onAfterRendering in order to manipulate input type

<smartField:SmartLabel labelFor="Menge"/>
<smartField:SmartField value="{menge}" id="idMenge"/>


onAfterRendering: function(){
 // set numeric types

with this code now the 123 keyboard is proposed, but if control loses focus value is cleared

Is there a solution? An annotation valute that tells Smartfields to render as sap.m.InputType.Number ?


10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers