From 9a6fc4beeaca5666e109c862200898775ede3a0e Mon Sep 17 00:00:00 2001 From: Lionel Bijaoui Date: Wed, 24 Aug 2016 11:10:05 +0200 Subject: [PATCH] fix: handle disabled and max props of VueMultiSelect better --- src/fields/fieldVueMultiSelect.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/fields/fieldVueMultiSelect.vue b/src/fields/fieldVueMultiSelect.vue index 1ecbb97e..c26e6b91 100644 --- a/src/fields/fieldVueMultiSelect.vue +++ b/src/fields/fieldVueMultiSelect.vue @@ -17,7 +17,7 @@ :custom-label="schema.selectOptions.customLabel || null", :taggable="schema.selectOptions.taggable", :tag-placeholder="schema.selectOptions.tagPlaceholder", - :max="schema.max", + :max="schema.max || null", @update="updateSelected", @tag="addTag", @select="onSelect", @@ -33,7 +33,7 @@ :limit="schema.selectOptions.limit", :limit-text="schema.selectOptions.limitText", :loading="schema.selectOptions.loading", - :disabled="schema.disabled", + :disabled="disabled", )