add disabled capabilities to generic multiselect
This commit is contained in:
parent
52e88ddfd3
commit
be2f759048
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user