-
16 Oct 2011 10:09 AM #1
Selectfield `default` param not working
Selectfield `default` param not working
It does not set a default value as explained in the docs.
Example:
Code:{ xtype: 'selectfield', name: 'foo', value: 'third', options: [ {text: 'First Option', value: 'first'}, {text: 'Second Option', value: 'second'}, {text: 'Third Option', value: 'third'} ] }
-
17 Oct 2011 9:02 AM #2Sencha - Sencha Touch Dev Team
- Join Date
- Mar 2007
- Location
- Redwood City, California
- Posts
- 3,651
- Vote Rating
- 14
Thank you for the report.
-
26 Oct 2011 8:45 PM #3
Confirmed. Can't set selected item on load with this parameter.
-
12 Jan 2012 7:30 PM #4
This still seems to be broken in PR3.
Twitter: lylepratt
-
13 Jan 2012 9:12 AM #5Sencha - Sencha Touch Dev Team
- Join Date
- Mar 2007
- Location
- Redwood City, California
- Posts
- 3,651
- Vote Rating
- 14
Reopening this to verify it.
-
16 Jan 2012 11:18 AM #6
Sorry, my bad. Will be fixed in the next release.
Sencha Inc.
Robert Dougan - @rdougan
Sencha Touch 2 and Ext JS 4 Core Team Member, SASS/Theming Wizard.
Success! Looks like we've fixed this one. According to our records the fix was applied for
TOUCH-890
in
2.0.


Reply With Quote