I am using extjs combobox for the sexual field. It has two meanings "M" and "F". I want to make it suitable for use with a keyboard:
{ xtype: 'combo', typeAhead: true, queryMode: 'local', minChars: 1, triggerAction: 'all', store: [ ['M', 'M'], ['F', 'F'] ] }
This works if I type "F tab " (upper case), but not "f tab " (lowercase). If I check the code for this, typeahead will work:
store: [ ['M', 'Male'], ['F', 'Female'] ]
Is it possible to save the value as "M" and work with lower case?
extjs extjs4 combobox
J-16 SDiZ
source share