fieldSchema is undefined for all fields retrieved via hooks #5819
Labels
[missing-reproduction]
If an issue does not include a reproduction
[possible-bug]
Possible bug which hasn't been reproduced yet
Link to reproduction
No response
Describe the Bug
I am trying to figure out the type of field for a list of field-paths.
I saw there's a key called
fieldSchema
returned fromuseFormFields
hook which a few levels in returns the fieldSchema for that specific field.I am using the following code to get the fieldSchema, but it's undefined for each field
To Reproduce
Use
useFormFields
oruseAllFormFields
hook to verify fieldSchema.Payload Version
2.11.2
Adapters and Plugins
No response
The text was updated successfully, but these errors were encountered: