diff options
author | Adam Chlipala <adam@chlipala.net> | 2011-07-15 10:02:54 -0400 |
---|---|---|
committer | Adam Chlipala <adam@chlipala.net> | 2011-07-15 10:02:54 -0400 |
commit | d85248cb116c4e2db7a04d80a8eba6870344c2a9 (patch) | |
tree | 647ce68734dfce10572c974b4454cb4be41c5f40 /tests | |
parent | eb38a363003afe9571a0e88a6b88219825e08267 (diff) |
Fixes for detecting pastes and autocompletes for dynamic textboxes
Diffstat (limited to 'tests')
-rw-r--r-- | tests/autocomp.ur | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/autocomp.ur b/tests/autocomp.ur new file mode 100644 index 00000000..d4e6a287 --- /dev/null +++ b/tests/autocomp.ur @@ -0,0 +1,11 @@ +fun main () : transaction page = + a <- source ""; + b <- source ""; + return <xml><body> + <form> + <textbox{#A} source={a}/> + <button onclick={x <- get a; set b x}/> + <dyn signal={v <- signal a; return <xml>{[v]}</xml>}/> + / <dyn signal={v <- signal b; return <xml>{[v]}</xml>}/> + </form> + </body></xml> |