Skip to content
Snippets Groups Projects
Commit 32493a35 authored by LE GAC Renaud's avatar LE GAC Renaud
Browse files

Use standard Ext JS ComboBox when field value is in set (work in all

cases).
parent 5d44b80d
No related branches found
No related tags found
No related merge requests found
......@@ -95,10 +95,11 @@ def _to_field(field, linkedcombo=True, **kwargs):
valueField=encode_field(k_tablename, k_key),
store=get_store_id(k_tablename))
# set field
# set field. Use the basic Ext JS ComboBox
elif is_set_field(field):
cfg = ComboBox(name=f_name,
store=get_set_field(field))
cfg = dict(name=f_name,
store=get_set_field(field),
xtype='combobox')
# other types of fields
else:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment