mirror of https://github.com/sveltejs/svelte
parent
68372460e9
commit
ebd01fa8f6
@ -0,0 +1,9 @@
|
|||||||
|
import { test } from '../../test';
|
||||||
|
|
||||||
|
export default test({
|
||||||
|
mode: ['server'],
|
||||||
|
html: `
|
||||||
|
<input value="a">
|
||||||
|
<input type="checkbox" checked>
|
||||||
|
`
|
||||||
|
});
|
@ -0,0 +1,7 @@
|
|||||||
|
<script>
|
||||||
|
let text = { defaultValue: "a" };
|
||||||
|
let checkbox = { defaultChecked: true }
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<input {...text} />
|
||||||
|
<input type="checkbox" {...checkbox} />
|
Loading…
Reference in new issue