-
Bug
-
Resolution: Fixed
-
Major
-
None
-
None
this.add(Ext.create("Ametys.form.field.ColorSelector", { listColors: listColors, currentColor: this._formatColorToValue(color), allowTransparent: this.getInitialConfig("allowTransparent") || true, callback: Ext.bind(this._onSelectColor, this) }));
false || true will be always equals to true ...
Ametys.form.field.ColorSelector waits for a boolean, so the string "false" also does not work. The transparent button is always displayed.