|
1 | 1 | <template lang="pug"> |
2 | 2 | multiselect( |
| 3 | + //- multiselectMixin.js |
3 | 4 | :id="selectOptions.id", |
4 | 5 | :options="options", |
5 | | - :multiple="schema.multiSelect", |
6 | 6 | :value="value", |
| 7 | + :multiple="schema.multiple", |
7 | 8 | :track-by="selectOptions.trackBy || null", |
8 | 9 | :label="selectOptions.label || null", |
9 | 10 | :searchable="selectOptions.searchable", |
10 | | - :local-search="selectOptions.localSearch", |
11 | 11 | :clear-on-select="selectOptions.clearOnSelect", |
12 | 12 | :hide-selected="selectOptions.hideSelected", |
13 | 13 | :placeholder="schema.placeholder", |
14 | | - :max-height="selectOptions.maxHeight", |
15 | 14 | :allow-empty="selectOptions.allowEmpty", |
16 | 15 | :reset-after="selectOptions.resetAfter", |
17 | 16 | :close-on-select="selectOptions.closeOnSelect", |
18 | 17 | :custom-label="customLabel", |
19 | 18 | :taggable="selectOptions.taggable", |
20 | 19 | :tag-placeholder="selectOptions.tagPlaceholder", |
21 | 20 | :max="schema.max || null", |
22 | | - @input="updateSelected", |
23 | | - @tag="addTag", |
24 | | - @select="onSelect", |
25 | | - @remove="onRemove", |
26 | | - @search-change="onSearchChange", |
27 | | - @open="onOpen", |
28 | | - @close="onClose", |
| 21 | + :options-limit="selectOptions.optionsLimit", |
| 22 | + :group-label="selectOptions.groupLabel", |
| 23 | + :block-keys="selectOptions.blockKeys", |
| 24 | + :internal-search="selectOptions.internalSearch", |
| 25 | + //- Multiselect.vue |
29 | 26 | :select-label="selectOptions.selectLabel", |
30 | 27 | :selected-label="selectOptions.selectedLabel", |
31 | 28 | :deselect-label="selectOptions.deselectLabel", |
|
34 | 31 | :limit-text="selectOptions.limitText", |
35 | 32 | :loading="selectOptions.loading", |
36 | 33 | :disabled="disabled", |
37 | | - :option-partial="selectOptions.optionPartial", |
| 34 | + :max-height="selectOptions.maxHeight", |
| 35 | + //- pointerMixin.js |
38 | 36 | :show-pointer="selectOptions.showPointer", |
39 | | - :option-height="selectOptions.optionHeight" |
| 37 | + //- Events |
| 38 | + @input="updateSelected", |
| 39 | + @select="onSelect", |
| 40 | + @remove="onRemove", |
| 41 | + @search-change="onSearchChange", |
| 42 | + @tag="addTag", |
| 43 | + @open="onOpen", |
| 44 | + @close="onClose", |
| 45 | + //- Slots |
| 46 | + :option-height="selectOptions.optionHeight", |
40 | 47 | ) |
41 | 48 | </template> |
42 | 49 | <script> |
|
0 commit comments