Skip to content

Commit a9bb8ae

Browse files
author
Lionel Bijaoui
committed
fix: added missing options for VueMultiselect. Removed min from dev schema (not used).
1 parent 19f5d98 commit a9bb8ae

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

dev/schema.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -120,8 +120,7 @@ module.exports = {
120120
],
121121
onChanged(model, newVal, oldVal, field) {
122122
console.log(`Model's name changed from ${oldVal} to ${newVal}. Model:`, model);
123-
},
124-
min: 2,
123+
},
125124
max: 4,
126125
placeholder: "placeholder",
127126
validator: validators.array

src/fields/fieldVueMultiSelect.vue

+5-2
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
:key="schema.selectOptions.key || null",
88
:label="schema.selectOptions.label || null",
99
:searchable="schema.selectOptions.searchable",
10+
:local-search="schema.selectOptions.localSearch",
1011
:clear-on-select="schema.selectOptions.clearOnSelect",
1112
:hide-selected="schema.selectOptions.hideSelected",
1213
:placeholder="schema.placeholder",
@@ -24,8 +25,7 @@
2425
@remove="onRemove",
2526
@search-change="onSearchChange",
2627
@open="onOpen",
27-
@close="onClose",
28-
:show-pointer="schema.selectOptions.showPointer",
28+
@close="onClose",
2929
:select-label="schema.selectOptions.selectLabel",
3030
:selected-label="schema.selectOptions.selectedLabel",
3131
:deselect-label="schema.selectOptions.deselectLabel",
@@ -34,6 +34,9 @@
3434
:limit-text="schema.selectOptions.limitText",
3535
:loading="schema.selectOptions.loading",
3636
:disabled="disabled",
37+
:option-partial="schema.selectOptions.optionPartial",
38+
:show-pointer="schema.selectOptions.showPointer",
39+
:option-height="schema.selectOptions.optionHeight"
3740
)
3841
</template>
3942
<script>

0 commit comments

Comments
 (0)