Skip to content

Commit 9a6fc4b

Browse files
author
Lionel Bijaoui
committed
fix: handle disabled and max props of VueMultiSelect better
1 parent a2665dd commit 9a6fc4b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/fields/fieldVueMultiSelect.vue

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
:custom-label="schema.selectOptions.customLabel || null",
1818
:taggable="schema.selectOptions.taggable",
1919
:tag-placeholder="schema.selectOptions.tagPlaceholder",
20-
:max="schema.max",
20+
:max="schema.max || null",
2121
@update="updateSelected",
2222
@tag="addTag",
2323
@select="onSelect",
@@ -33,7 +33,7 @@
3333
:limit="schema.selectOptions.limit",
3434
:limit-text="schema.selectOptions.limitText",
3535
:loading="schema.selectOptions.loading",
36-
:disabled="schema.disabled",
36+
:disabled="disabled",
3737
)
3838
</template>
3939
<script>

0 commit comments

Comments
 (0)