vuetify-admin
Version:
SPA admin framework for Vue.js running on top of REST APIs, built on Vuetify
44 lines (43 loc) • 810 B
JavaScript
/**
* For input components that allow multiple value as array.
*/
export default {
props: {
/**
* Value to be edited. Array by default if multiple.
* @model
*/
value: {
type: [String, Array],
default() {
return this.multiple ? [] : null;
},
},
/**
* Allow input to accept multiple value as array.
*/
multiple: Boolean,
/**
* Use full filled background color style.
*/
filled: {
type: Boolean,
default() {
return !this.multiple;
},
},
/**
* Use chips for each item. Enabled if `multiple` by default.
*/
chips: {
type: Boolean,
default() {
return this.multiple;
},
},
/**
* Use small chips.
*/
smallChips: Boolean,
},
};