app/assets/javascripts/marty/extjs/extensions/marty.js in marty-6.1.0 vs app/assets/javascripts/marty/extjs/extensions/marty.js in marty-8.0.0

- old
+ new

@@ -905,6 +905,28 @@ if (!config.renderer && !this.updater) { config.formatter = 'htmlEncode' } return this.callParent(arguments) } - }) + } +); + +Ext.define('Ext.netzke.marty.MultiSelectCombo', { + extend: 'Ext.form.ComboBox', + alias: 'widget.multiselectcombo', + separator: ",", + multiSelect: true, + + setValue: function(v) { + if (Ext.isString(v)) { + var vArray = v.split(this.separator); + this.callParent([vArray]); + } else { + this.callParent(arguments); + } + }, + } +); + +// Fix component fetching in ExtJS 7 +// This flag was false by default in ExtJS 6 +Ext.USE_NATIVE_JSON = false;