Mercurial > urweb
diff tests/html5_forms.ur @ 2076:855d7746a084
Remove 'value' attribute of <checkbox>
author | Adam Chlipala <adam@chlipala.net> |
---|---|
date | Sun, 16 Nov 2014 14:06:24 -0500 |
parents | fde864eacd47 |
children | 3cd2bd4b1de0 |
line wrap: on
line diff
--- a/tests/html5_forms.ur Sun Nov 16 14:02:17 2014 -0500 +++ b/tests/html5_forms.ur Sun Nov 16 14:06:24 2014 -0500 @@ -1,4 +1,7 @@ fun handler r = return <xml><body> + A: {[r.A]}<br/> + B: {[r.B]}<br/> + C: {[r.C]}<br/> </body></xml> fun main () = @@ -6,6 +9,7 @@ <form> <textbox{#A} required placeholder="bobby"/> <textbox{#B} placeholder="soggy" autofocus/> + <checkbox{#C}/> <submit action={handler}/> </form>