Reputation: 312
I am trying to select a default value of my combobox. I have tried using value: 'Minor'
But this didn't help as when I try to retrieve the value it gives me Minor. in my combobox display is Minor and value is 1.
I have also looked at other selections like forceSelection but those didn't help either. Please look at the top left cell (which has the value of minor) in this fiddle.
Any help would be appreciated.
Upvotes: 0
Views: 68
Reputation: 1196
You set valueField
to value
but you are setting text
as combo default value
Change value
to '1'
value: '1'
Upvotes: 1