add disabled capabilities to generic multiselect

This commit is contained in:
vabene1111 2023-12-02 15:22:27 +01:00
parent 52e88ddfd3
commit be2f759048

View File

@ -20,6 +20,7 @@
@input="selectionChanged" @input="selectionChanged"
@tag="addNew" @tag="addNew"
@open="selectOpened()" @open="selectOpened()"
:disabled="disabled"
> >
</multiselect> </multiselect>
</template> </template>
@ -74,6 +75,7 @@ export default {
allow_create: { type: Boolean, default: false }, allow_create: { type: Boolean, default: false },
create_placeholder: { type: String, default: "You Forgot to Add a Tag Placeholder" }, create_placeholder: { type: String, default: "You Forgot to Add a Tag Placeholder" },
clear: { type: Number }, clear: { type: Number },
disabled: {type: Boolean, default: false, },
}, },
watch: { watch: {
initial_selection: function (newVal, oldVal) { initial_selection: function (newVal, oldVal) {