Conform sets novalidate & validation attributes?

24/08/2023 4 min Temporada 4 Episodio 12
Conform sets novalidate & validation attributes?

Listen "Conform sets novalidate & validation attributes?"

Episode Synopsis


Hey, Kent! I'm trying out @conform-to/react, specifically the useForm hook. I noticed that it sets novalidate: true on the form even if JavaScript is disabled. I'm wondering: Why does it add validation attributes to the inputs then if they're not being used for validation anyway, regardless of whether JavaScript is enabled or not?

Conform sets novalidate & validation attributes?