Conform sets novalidate & validation attributes? - podcast episode cover

Conform sets novalidate & validation attributes?

Aug 24, 20235 minSeason 4Ep. 12
--:--
--:--
Download Metacast podcast app
Listen to this episode in Metacast mobile app
Don't just listen to podcasts. Learn from them with transcripts, summaries, and chapters for every episode. Skim, search, and bookmark insights. Learn more

Episode description

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?
For the best experience, listen in Metacast app for iOS or Android