mirror of
https://github.com/LukeHagar/form.git
synced 2025-12-09 12:27:44 +00:00
fix(form-core): allow set default field meta (#424)
Co-authored-by: João Pedro Magalhães <joaopsilvamagalhaes@gmail.com>
This commit is contained in:
committed by
GitHub
parent
bd1bd3d0d4
commit
6956d5085a
@@ -132,7 +132,7 @@ export class FieldApi<TData, TFormData> {
|
||||
meta: this.getMeta() ?? {
|
||||
isValidating: false,
|
||||
isTouched: false,
|
||||
...this.options.defaultMeta,
|
||||
...opts.defaultMeta,
|
||||
},
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user