feat: add scrollToFirstError to the form component
This commit is contained in:
@@ -15,6 +15,7 @@ const [Form] = useVbenForm({
|
||||
handleSubmit: onSubmit,
|
||||
// 垂直布局,label和input在不同行,值为vertical
|
||||
// 水平布局,label和input在同一行
|
||||
scrollToFirstError: true,
|
||||
layout: 'horizontal',
|
||||
schema: [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user