mirror of
https://github.com/DioxusLabs/dioxus
synced 2024-11-23 12:43:08 +00:00
fix: remove preventdefault on form
This commit is contained in:
parent
4fd4fa0b09
commit
aa60971c5c
1 changed files with 0 additions and 6 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue