Adds EE validators to CE file
This commit is contained in:
parent
9b81276328
commit
9bb41e894e
1 changed files with 6 additions and 0 deletions
|
@ -4,10 +4,16 @@ export default {
|
|||
colors: {
|
||||
type: Array,
|
||||
required: true,
|
||||
validator(value) {
|
||||
return value.length === 2;
|
||||
},
|
||||
},
|
||||
opacity: {
|
||||
type: Array,
|
||||
required: true,
|
||||
validator(value) {
|
||||
return value.length === 2;
|
||||
},
|
||||
},
|
||||
identifierName: {
|
||||
type: String,
|
||||
|
|
Loading…
Reference in a new issue