react-final-form icon indicating copy to clipboard operation
react-final-form copied to clipboard

Q: should readonly fields be validated on blur?

Open sKopheK opened this issue 3 years ago • 0 comments

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

sKopheK avatar Oct 24 '22 12:10 sKopheK