feat(Form): global errors (#3482)

Co-authored-by: Benjamin Canac <canacb1@gmail.com>
This commit is contained in:
Romain Hamel
2025-03-11 14:50:36 +01:00
committed by GitHub
parent 5ecd2271ca
commit 6e03d9c6ef
3 changed files with 7 additions and 7 deletions

View File

@@ -36,7 +36,7 @@ export type FormSchema<T extends object> =
export type FormInputEvents = 'input' | 'blur' | 'change' | 'focus'
export interface FormError<P extends string = string> {
name: P
name?: P
message: string
}