We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cc169c9 commit dabf3c3Copy full SHA for dabf3c3
src/components/WidgetConfig.vue
@@ -477,9 +477,11 @@ export default {
477
this.valiatePattern(val)
478
},
479
'data.name': function (val) {
480
- this.validateRequired(this.data.options.required)
481
- this.validateDataType(this.data.options.dataType)
482
- this.valiatePattern(this.data.options.pattern)
+ if (this.data.options) {
+ this.validateRequired(this.data.options.required)
+ this.validateDataType(this.data.options.dataType)
483
+ this.valiatePattern(this.data.options.pattern)
484
+ }
485
}
486
487
0 commit comments