diff --git a/CHANGELOG b/CHANGELOG index 36d80ab2d3..471c885d9b 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,4 @@ +* Add MultiSelection entry to Dict field * Position new record based on order * Reset display_size of TreeView when group is cleared or changed * Allow relation field to be selected in CSV export diff --git a/src/view/form.js b/src/view/form.js index f45e32a709..9c47681d60 100644 --- a/src/view/form.js +++ b/src/view/form.js @@ -4323,6 +4323,8 @@ function eval_pyson(value){ return Sao.View.Form.Dict.Boolean; case 'selection': return Sao.View.Form.Dict.Selection; + case 'multiselection': + return Sao.View.Form.Dict.MultiSelection; case 'integer': return Sao.View.Form.Dict.Integer; case 'float': @@ -4407,10 +4409,9 @@ function eval_pyson(value){ } }); - Sao.View.Form.Dict.Selection = Sao.class_(Sao.View.Form.Dict.Entry, { - class_: 'dict-selection', + Sao.View.Form.Dict.SelectionEntry = Sao.class_(Sao.View.Form.Dict.Entry, { create_widget: function() { - Sao.View.Form.Dict.Selection._super.create_widget.call(this); + Sao.View.Form.Dict.SelectionEntry._super.create_widget.call(this); var select = jQuery('