wip: fix some bugs around the rsx macro

This commit is contained in:
Jonathan Kelley committed 2021-10-27 16:58:20 -04:00
1 parent 9f7eb0f600
commit 339e450027
4 files changed
+57 -69

No files matched your search

+2 -2
View File
@@ -48,11 +48,11 @@ fn Row((cx, props): Component<RowProps>) -> DomTree {
cx.render(rsx! {
tr {
td { class:"col-md-1", "{props.row_id}" }
td { class:"col-md-1", on_click: move |_| { /* run onselect */ }
td { class:"col-md-1", onclick: move |_| { /* run onselect */ }
a { class: "lbl", "{props.label}" }
}
td { class: "col-md-1"
a { class: "remove", on_click: {handler}
a { class: "remove", onclick: {handler}
span { class: "glyphicon glyphicon-remove remove" aria_hidden: "true" }
}
}