Merge pull request #94 from JtotheThree/master

Login Form Example
This commit is contained in:
Jonathan Kelley authored and GitHub committed 2022-02-16 14:02:47 -05:00
commit 4fd4fa0b09
2 files changed
+95

No files matched your search

+6
View File
@@ -1101,6 +1101,12 @@ impl label {
}
}
impl form {
pub fn prevent_default<'a>(&self, cx: NodeFactory<'a>, val: Arguments) -> Attribute<'a> {
cx.attr("dioxus-prevent-default", val, None, false)
}
}
builder_constructors! {
// SVG components
/// Build a