mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-21 23:40:39 +01:00
feat(Form): global errors (#3482)
Co-authored-by: Benjamin Canac <canacb1@gmail.com>
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user