2021-03-28 20:06:49 +11:00
|
|
|
import ValueList from "admin/components/value-list";
|
2020-04-29 11:42:39 +10:00
|
|
|
|
|
|
|
export default ValueList.extend({
|
|
|
|
_saveValues() {
|
|
|
|
if (this.inputType === "array") {
|
|
|
|
this.onChange(this.collection);
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
|
|
|
|
this.onChange(this.collection.join(this.inputDelimiter || "\n"));
|
2021-03-28 20:06:49 +11:00
|
|
|
},
|
|
|
|
});
|