final-form / final-form/react-final-form
Q: should readonly fields be validated on blur?
Open
- 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?
field has `readonly` atribute set so user cannot change its value but if the prefilled value is incorrect, validation triggered on e.g. `blur` event raises error
### What is the expected behavior?
validation should not be triggered on `readonly` inputs for `blur` event
### Sandbox Link
### What's your environment?
RFF v6.59, FF 4.20.7
### Other information
Contributor guide
Assessment
This issue has not been assessed yet.