mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-23 16:30:45 +01:00
feat(Form): handle multiple paths in validate (#1273)
This commit is contained in:
@@ -208,7 +208,7 @@ When accessing the component via a template ref, you can use the following:
|
||||
::field{name="submit ()" type="Promise<void>"}
|
||||
Triggers form submission.
|
||||
::
|
||||
::field{name="validate (path?: string, opts: { silent?: boolean })" type="Promise<T>"}
|
||||
::field{name="validate (path?: string | string[], opts: { silent?: boolean })" type="Promise<T>"}
|
||||
Triggers form validation. Will raise any errors unless `opts.silent` is set to true.
|
||||
::
|
||||
::field{name="clear (path?: string)"}
|
||||
|
||||
Reference in New Issue
Block a user