We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a1d4fd5 commit 1ae9c48Copy full SHA for 1ae9c48
ui/src/components/dynamics-form/FormItem.vue
@@ -133,7 +133,8 @@ const errMsg = computed(() => {
133
*/
134
const to_rule = (rule: any) => {
135
if (rule.validator) {
136
- const validator = (rule: any, value: string, callback: any) => {}
+ // eslint-disable-next-line prefer-const, @typescript-eslint/no-unused-vars
137
+ let validator = (rule: any, value: string, callback: any) => {}
138
eval(rule.validator)
139
return { ...rule, validator }
140
}
0 commit comments