on 2018 Feb 09 2:52 PM
Hi,
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"/>
controller:
onAfterRendering: function(){
// set numeric types
this.byId("idMenge").getInnerControls()[0].setType(sap.m.InputType.Number);
},
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 ?
Thanks
Request clarification before answering.
User | Count |
---|---|
45 | |
9 | |
8 | |
6 | |
5 | |
5 | |
4 | |
4 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.