final-form / final-form/react-final-form
meta.active does not update in nested field accessed with dot notation
- Dominant language
- JavaScript
- Stars
- 7.4k
- Forks
- 497
- PR merge metrics
- No merged PRs in 30d
Description
### Are you submitting a **bug report** or a **feature request**?
** bug report **
### What is the current behavior?
When accessing a nested meta object with the useField hook, the active property does not change when using the dot notation "foo.bar". When using it with parentheses "foo[bar]" it works.
Other meta properties like dirty as well as input.value work with both.
### What is the expected behavior?
I'm not sure if this is intended. If it is, then maybe it needs documentation. Maybe there already is some, but I didn't find it yet.
I did see this: https://final-form.org/docs/final-form/field-names, but it does not say anything about this behaviour. So I assume it's a bug :)
### Sandbox Link
https://codesandbox.io/s/jovial-cloud-318qm
Contributor guide
Assessment
This issue has not been assessed yet.