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:
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'
}]
Mozzarella is displayed as default and if I try to select Cheddar nothing happens...
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