Skip to content

Commit

Permalink
Merge pull request #48 from lionel-bijaoui/LB_fix_for_VueMultiselect
Browse files Browse the repository at this point in the history
Fix for VueMultiselect
  • Loading branch information
icebob authored Aug 25, 2016
2 parents 19f5d98 + a9bb8ae commit 2be0307
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
3 changes: 1 addition & 2 deletions dev/schema.js
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,7 @@ module.exports = {
],
onChanged(model, newVal, oldVal, field) {
console.log(`Model's name changed from ${oldVal} to ${newVal}. Model:`, model);
},
min: 2,
},
max: 4,
placeholder: "placeholder",
validator: validators.array
Expand Down
7 changes: 5 additions & 2 deletions src/fields/fieldVueMultiSelect.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
:key="schema.selectOptions.key || null",
:label="schema.selectOptions.label || null",
:searchable="schema.selectOptions.searchable",
:local-search="schema.selectOptions.localSearch",
:clear-on-select="schema.selectOptions.clearOnSelect",
:hide-selected="schema.selectOptions.hideSelected",
:placeholder="schema.placeholder",
Expand All @@ -24,8 +25,7 @@
@remove="onRemove",
@search-change="onSearchChange",
@open="onOpen",
@close="onClose",
:show-pointer="schema.selectOptions.showPointer",
@close="onClose",
:select-label="schema.selectOptions.selectLabel",
:selected-label="schema.selectOptions.selectedLabel",
:deselect-label="schema.selectOptions.deselectLabel",
Expand All @@ -34,6 +34,9 @@
:limit-text="schema.selectOptions.limitText",
:loading="schema.selectOptions.loading",
:disabled="disabled",
:option-partial="schema.selectOptions.optionPartial",
:show-pointer="schema.selectOptions.showPointer",
:option-height="schema.selectOptions.optionHeight"
)
</template>
<script>
Expand Down

0 comments on commit 2be0307

Please sign in to comment.