diff --git a/modules/plugin_dbui/converter.py b/modules/plugin_dbui/converter.py index 28c6ccbafbd0b84253f99759cd1af22ede719247..bef772d2791c8810f256e11758d2fccc1421a50b 100644 --- a/modules/plugin_dbui/converter.py +++ b/modules/plugin_dbui/converter.py @@ -527,13 +527,17 @@ def to_gridFilter(table, **kwargs): # remove field constraints making no sense for a filter if 'allowBlank' in cfg: cfg["allowBlank"] = True - + if 'readOnly' in cfg: cfg['readOnly'] = False if 'value' in cfg: del cfg['value'] + # Remove the star in the label for required field + if field.notnull and 'afterLabelTextTpl' in cfg: + del cfg['afterLabelTextTpl'] + # replace all textarea by textfield if cfg['xtype'] == 'xtextarea': cfg['xtype'] = 'xtextfield' diff --git a/static/plugin_dbui/CHANGELOG b/static/plugin_dbui/CHANGELOG index f44006bce735fa473f901f6f0512f756fc32afd5..a1af05722db4147fb1c3b54cac13bd88213916f8 100644 --- a/static/plugin_dbui/CHANGELOG +++ b/static/plugin_dbui/CHANGELOG @@ -2,6 +2,8 @@ HEAD + - Consolidation version + 0.6.1.0 (Mar 2014) - Consolidation version running with Ext JS 4.2.1 - Deploy the dynamic loading when running in debug mode.