-
30 Mar 2011 9:31 AM #1
Behaviour of BasicForm.getFieldValues() on combobox
Behaviour of BasicForm.getFieldValues() on combobox
Hello,
I'm getting some unexpected behaviour while using BasicForm.getFieldValues() method on a form that contains a combobox with duplicated displayField value (of course, no there are no duplications on valueField).
For example. The combobox json data is as folows:
Combo config is valueField: 'id' and displayField: 'value'.Code:[{ id: 1, value: 'Value One' }, { id: 2, value: 'Value Two' }, { id: 3, value: 'Value One' }]
Although I select the last "Value One" (id: 3) in the combo, getFieldValues() always returns the value of the first record (id: 1).
I think this is a bug, am I right?
Thanks,
Antonio.
Thank you for reporting this bug. We will make it our priority to review this report.
Similar Threads
-
getFieldValues fix?
By ethraza in forum Ext 3.x: User Extensions and PluginsReplies: 0Last Post: 7 Oct 2010, 10:37 AM -
getValues() and getFieldValues()
By Jangla in forum Ext 3.x: Help & DiscussionReplies: 6Last Post: 19 Jul 2010, 7:55 AM -
how to use getFieldValues() to get the value of radiogroup
By eliothyj in forum Ext 3.x: Help & DiscussionReplies: 2Last Post: 7 May 2010, 3:47 AM -
BasicForm Combobox with boolean value
By lvgunst in forum Ext 2.x: Help & DiscussionReplies: 2Last Post: 23 Feb 2009, 11:22 AM


Reply With Quote