mirror of
https://github.com/dbeaver/cloudbeaver.git
synced 2026-09-24 16:04:36 +08:00
CB-4356 fix: error with form validation
This commit is contained in:
@@ -109,10 +109,7 @@ export function useForm(options?: IOptions): IFormContext {
|
||||
} else {
|
||||
const validationContext = this.onValidate.execute();
|
||||
const interrupted = ExecutorInterrupter.isInterrupted(validationContext);
|
||||
|
||||
if (interrupted) {
|
||||
context.ref?.reportValidity();
|
||||
}
|
||||
|
||||
return interrupted === false;
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user