Merge branch 'develop' into feature/SSR-131
This commit is contained in:
commit
17a736b542
2 changed files with 10 additions and 3 deletions
|
|
@ -3,9 +3,16 @@ export const inputButtonProps = {
|
||||||
type: [String, Number],
|
type: [String, Number],
|
||||||
required: true,
|
required: true,
|
||||||
},
|
},
|
||||||
modelValue: {
|
modelValue: {
|
||||||
type: [Array, String, Number],
|
|
||||||
required: true,
|
required: true,
|
||||||
|
validation: function(prop) {
|
||||||
|
return (
|
||||||
|
prop === null
|
||||||
|
|| Array.isArray(prop)
|
||||||
|
|| typeof prop === 'string'
|
||||||
|
|| (typeof prop === 'number' && !Number.isNaN(prop))
|
||||||
|
)
|
||||||
|
}
|
||||||
},
|
},
|
||||||
isMultiSelect: Boolean,
|
isMultiSelect: Boolean,
|
||||||
groupName: {
|
groupName: {
|
||||||
|
|
|
||||||
|
|
@ -20,7 +20,7 @@
|
||||||
name: "year-question",
|
name: "year-question",
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
years: Array,
|
years: [],
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
props: {
|
props: {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue