Merge pull request #7318 from dataease/pr@dev@fix_mult_required_tips
fix: 多选下拉过滤器必填时空值没有提示
This commit is contained in:
commit
55008d0714
@ -145,7 +145,7 @@ export default {
|
||||
return this.element.serviceName === 'textSelectWidget' && this.element.options.attrs.selectFirst
|
||||
},
|
||||
showRequiredTips() {
|
||||
return this.inDraw && this.element.options.attrs.required && !this.value
|
||||
return this.inDraw && this.element.options.attrs.required && (!this.value || this.value.length === 0)
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user