changeset 2163:598a5f781d39

Add onChange handler to radioOption
author Julian Squires <julian@cipht.net>
date Thu, 07 May 2015 16:12:06 -0400
parents c39c48696393
children 728aaeea12fd 2b1af5dc6dee
files lib/ur/basis.urs
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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)