fix: remove preventdefault on form

This commit is contained in:
Jonathan Kelley 2022-02-16 14:03:53 -05:00
parent 4fd4fa0b09
commit aa60971c5c

View file

@ -1101,12 +1101,6 @@ 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