fix: remove preventdefault on form
This commit is contained in:
1 parent
4fd4fa0b09
commit
aa60971c5c
1 file changed
-6
@@ -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! {
|
builder_constructors! {
|
||||||
// SVG components
|
// SVG components
|
||||||
/// Build a
|
/// Build a
|
||||||
|
|||||||
Reference in new issue
Block a user