-
12 Dec 2011 6:38 PM #1
[PR3] searchfield displays "return" key instead of "search" key on iOS keyboard
[PR3] searchfield displays "return" key instead of "search" key on iOS keyboard
Code:Ext.application({ name: '2.0 PR3 Form Test', launch: function() { console.log('launch:'); var myPanel = Ext.create("Ext.Panel", { fullscreen: true, layout: 'fit', items: [ { title: 'Basic', xtype: 'formpanel', id: 'basicform', items: [ { xtype: 'searchfield', id: 'firstName', name: 'first', label: 'First' }, { xtype: 'searchfield', id: 'lastName', name: 'last', label: 'Last' } ] } ] }); console.log('myPanel=' + myPanel); var firstName = myPanel.down('#firstName'); console.log('firstName=' + firstName); } });
-
13 Dec 2011 4:06 AM #2
And in Android, the height of the search field increases whenever there is text entered.
-
13 Dec 2011 4:25 AM #3
From my observation: it's connected to the fact, that form fields are not wrapped with form tag and actually I don't know if this is desired or not

If you are looking for some solution check this thread, especially last post:
http://www.sencha.com/forum/showthre...l=1#post682411
If you apply this workaround "return" will be displayed as "search".
In your example is "return" button triggers anything?
-
13 Dec 2011 10:47 AM #4Sencha - Sencha Touch Dev Team
- Join Date
- Mar 2007
- Location
- Redwood City, California
- Posts
- 3,651
- Vote Rating
- 14
Duplicate issue we are aware of.
Looks like we can't reproduce the issue or there's a problem in the test case provided.


Reply With Quote