Mercurial > urweb
diff lib/ur/basis.urs @ 2163:598a5f781d39
Add onChange handler to radioOption
author | Julian Squires <julian@cipht.net> |
---|---|
date | Thu, 07 May 2015 16:12:06 -0400 |
parents | 9c8016d99969 |
children | 14c45a0b6362 |
line wrap: on
line diff
--- a/lib/ur/basis.urs Mon Jul 13 14:34:30 2015 -0400 +++ b/lib/ur/basis.urs Thu May 07 16:12:06 2015 -0400 @@ -1011,7 +1011,7 @@ con radio = [Body, Radio] val radio : formTag (option string) radio [Data = data_attr, Id = id] -val radioOption : unit -> tag ([Value = string, Checked = bool] ++ boxAttrs) radio [] [] [] +val radioOption : unit -> tag ([Value = string, Checked = bool, Onchange = transaction unit] ++ boxAttrs) radio [] [] [] con select = [Select] val select : formTag string select ([Onchange = transaction unit] ++ boxAttrs)