2021-03-28 11:06:49 +02:00
|
|
|
import ValueList from "admin/components/value-list";
|
2020-04-29 03:42:39 +02: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 11:06:49 +02:00
|
|
|
},
|
|
|
|
});
|