feat: add scrollToFirstError to the form component
parent
243f3a201d
commit
f1051c8773
|
@ -389,7 +389,7 @@ export interface VbenFormProps<
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 验证失败时是否自动滚动到第一个错误字段
|
* 验证失败时是否自动滚动到第一个错误字段
|
||||||
* @default true
|
* @default false
|
||||||
*/
|
*/
|
||||||
scrollToFirstError?: boolean;
|
scrollToFirstError?: boolean;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue