Threaded View
-
5 May 2012 8:18 AM #1
Answered: How to make a telephone number input
Answered: How to make a telephone number input
In Sencha touch 2 xtype: 'numberfield' creates a input which type is number. I want to create a input field which input type will be tel. How to do it?
I want a input like
Code:<input class="x-input-el x-form-field x-input-number" type="tel" id="ext-element-56" name="telephone" autocapitalize="on" placeholder="123456789">
-
Best Answer Posted by mitchellsimoens
Try something like
Code:new Ext.Container({ fullscreen : true, items : [ { xtype : 'textfield', label : 'Phone Number', component : { type : 'tel' } } ] });


Reply With Quote