mirror of https://github.com/sveltejs/svelte
fix: correctly handle `novalidate` attribute casing (#15083)
This PR fixes #15082 by correctly handling the HTML element novalidate attribute casing through noValidate DOM property mapping.pull/15057/head
parent
7da86ef80c
commit
eee808fb79
@ -0,0 +1,5 @@
|
||||
---
|
||||
'svelte': patch
|
||||
---
|
||||
|
||||
fix: correctly handle `novalidate` attribute casing
|
@ -0,0 +1,8 @@
|
||||
import { test } from '../../test';
|
||||
|
||||
export default test({
|
||||
html: `
|
||||
<form novalidate></form>
|
||||
<form novalidate></form>
|
||||
`
|
||||
});
|
@ -0,0 +1,6 @@
|
||||
<script>
|
||||
let noValidate = $state(true);
|
||||
</script>
|
||||
|
||||
<form novalidate={true}></form>
|
||||
<form {noValidate}></form>
|
Loading…
Reference in new issue