Fix group binding example

The attribute should be `bind:group` instead of `group`
pull/3572/head
mateomorris 6 years ago committed by GitHub
parent 14a46a17d0
commit be98d510c8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -11,34 +11,34 @@
<h2>Size</h2>
<label>
<input type=radio group={scoops} value={1}>
<input type=radio bind:group={scoops} value={1}>
One scoop
</label>
<label>
<input type=radio group={scoops} value={2}>
<input type=radio bind:group={scoops} value={2}>
Two scoops
</label>
<label>
<input type=radio group={scoops} value={3}>
<input type=radio bind:group={scoops} value={3}>
Three scoops
</label>
<h2>Flavours</h2>
<label>
<input type=checkbox group={flavours} value="Cookies and cream">
<input type=checkbox bind:group={flavours} value="Cookies and cream">
Cookies and cream
</label>
<label>
<input type=checkbox group={flavours} value="Mint choc chip">
<input type=checkbox bind:group={flavours} value="Mint choc chip">
Mint choc chip
</label>
<label>
<input type=checkbox group={flavours} value="Raspberry ripple">
<input type=checkbox bind:group={flavours} value="Raspberry ripple">
Raspberry ripple
</label>

Loading…
Cancel
Save