Hi All
Has anybody in Sencha-land figured out how to include a decimal point in the number keypad on iOS?
The closest solution I've found is to use the html5 pattern [0-9]* as per the following snippet:
Code:
{xtype: 'textfield',
label: 'textfield [0-9]*',
listeners: {
initialize: function () {
this.getComponent().updateFieldAttribute('pattern', '[0-9]*');
}
}
}
This will prompt the number keypad to appear but unfortunately there is no decimal point available in the bottom left corner button.
I've tried a wide array of possible patterns but so far have had no luck in stumbling across some combination that might prompt iOS to show this keypad:
keypad.jpg
If anybody has any ideas I would be most interested in hearing them.
Thanks
Rgds
Zac