Adds EE validators to CE file
This commit is contained in:
parent
9b81276328
commit
9bb41e894e
|
@ -4,10 +4,16 @@ export default {
|
||||||
colors: {
|
colors: {
|
||||||
type: Array,
|
type: Array,
|
||||||
required: true,
|
required: true,
|
||||||
|
validator(value) {
|
||||||
|
return value.length === 2;
|
||||||
|
},
|
||||||
},
|
},
|
||||||
opacity: {
|
opacity: {
|
||||||
type: Array,
|
type: Array,
|
||||||
required: true,
|
required: true,
|
||||||
|
validator(value) {
|
||||||
|
return value.length === 2;
|
||||||
|
},
|
||||||
},
|
},
|
||||||
identifierName: {
|
identifierName: {
|
||||||
type: String,
|
type: String,
|
||||||
|
|
Loading…
Reference in New Issue