Editorial question58.6K views1,391 votes1 answer1,647 following
AI-generatedForm novalidate vs. custom validity on number inputs with non‑multiple steps
Form novalidate vs. custom validity on number inputs with non‑multiple steps When a form carries the novalidate attribute, browsers suppress native constraint checks but still allow JavaScript to apply custom validity messages via setCustomValidity . Recent tests show Safari silently clears these messages on submission, Chrome and Edge flag a typeMismatch fo