Hybrid View
-
23 Nov 2010 11:36 AM #1
xtype: selectfield seems to not work properly if values in the option are identical
xtype: selectfield seems to not work properly if values in the option are identical
Hi,
I am having trouble with the selecfield xtype as in if the option values are the same the gui does not update the selection. This happens in chrome and Iphone, I am not sure if this is a bug, but it definitely gives me problems...
Here is the code:
Mozzarella is displayed as default and if I try to select Cheddar nothing happens...Code:xtype: 'selectfield', name : 'selectTypeofCheese', label: 'Select Type of Cheese', minHeight: 50, options: [ { text: 'Mozzarella', value: '0' }, { text: 'Cheddar', value: '0' }, { text: 'Feta', value: '0' }]
This problem does not occur if the I set different values for each option value...
Is this a bug or am I doing something wrong...
Thanks in advance
-
25 Nov 2010 5:28 PM #2Sencha - Community Support Team
- Join Date
- Mar 2007
- Location
- Frederick MD, NYC, DC
- Posts
- 16,169
- Vote Rating
- 28
Why are the values the same? Sounds like strange application design to me! How does the back end know the difference!?

Jay Garcia @ModusJesus || Modus Create co-founder
Ext JS in Action author
Sencha Touch in Action author
Get in touch for Ext JS & Sencha Touch Touch Training
We are also working on Video-based Sencha Touch training: Check it out here.
-
24 Aug 2012 2:37 AM #3
Don't seem to be having the problem with similar values… maybe its something else in the code??
@Jay : Maybe he's diffrentiating goat cheese from cow cheese… these days apps be crazy
Similar Threads
-
Change an Item through an Selectfield
By ballibum in forum Ext 3.x: Help & DiscussionReplies: 0Last Post: 18 Mar 2010, 3:58 AM -
How can I use the variable for values option of Template.overwrite
By yusaku in forum Ext 2.x: Help & DiscussionReplies: 3Last Post: 21 Feb 2009, 6:57 AM -
XType form values
By bkraut in forum Ext 2.x: Help & DiscussionReplies: 2Last Post: 10 Aug 2008, 8:52 AM -
Grid Sorting does not properly orders the values.
By Sandeep in forum Ext 1.x: Help & DiscussionReplies: 3Last Post: 16 Sep 2007, 10:27 PM


Reply With Quote