this.placeholder = _('-- Please choose --');
},
+ /**
+ * Allows custom value entry in addition to those already specified.
+ *
+ * @name LuCI.form.MultiValue.prototype#create
+ * @type boolean
+ * @default null
+ */
+
/**
* Allows to specify the [display_items]{@link LuCI.ui.Dropdown.InitOptions}
* property of the underlying dropdown widget. If omitted, the value of
multiple: true,
optional: this.optional || this.rmempty,
select_placeholder: this.placeholder,
+ create: this.create,
display_items: this.display_size || this.size || 3,
dropdown_items: this.dropdown_size || this.size || -1,
validate: L.bind(this.validate, this, section_id),