summaryrefslogtreecommitdiff
path: root/tests/html5_forms.ur
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adam@chlipala.net>2014-11-16 14:06:24 -0500
committerGravatar Adam Chlipala <adam@chlipala.net>2014-11-16 14:06:24 -0500
commitae37c78eb55cc69635df594a2c20d4ad33c0c03b (patch)
tree4d3d2d3181ebe9df7002fcec5bde69fe42105ff9 /tests/html5_forms.ur
parent53c8e3791551e84d7c2100df885740be5a4871df (diff)
Remove 'value' attribute of <checkbox>
Diffstat (limited to 'tests/html5_forms.ur')
-rw-r--r--tests/html5_forms.ur4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/html5_forms.ur b/tests/html5_forms.ur
index 2fa5c5c2..435e4ada 100644
--- a/tests/html5_forms.ur
+++ b/tests/html5_forms.ur
@@ -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 @@ fun main () =
<form>
<textbox{#A} required placeholder="bobby"/>
<textbox{#B} placeholder="soggy" autofocus/>
+ <checkbox{#C}/>
<submit action={handler}/>
</form>