summaryrefslogtreecommitdiff
path: root/tests/textarea.lac
diff options
context:
space:
mode:
Diffstat (limited to 'tests/textarea.lac')
-rw-r--r--tests/textarea.lac10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/textarea.lac b/tests/textarea.lac
new file mode 100644
index 00000000..708c9b03
--- /dev/null
+++ b/tests/textarea.lac
@@ -0,0 +1,10 @@
+val handler = fn x => <html><body>
+ You entered: {cdata x.A}
+</body></html>
+
+val main = fn () => <html><body>
+ <lform>
+ <ltextarea{#A}/>
+ <submit action={handler}/>
+ </lform>
+</body></html>