mirror of
https://github.com/DioxusLabs/dioxus
synced 2025-02-16 13:48:26 +00:00
fix the downcast for formdata try_as_web_event (#3227)
This commit is contained in:
parent
fe1dd03732
commit
1b54cb95a0
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ impl WebEventExt for dioxus_html::FormData {
|
|||
|
||||
#[inline(always)]
|
||||
fn try_as_web_event(&self) -> Option<Self::WebEvent> {
|
||||
self.downcast::<WebFormData>().map(|e| e.raw.clone())
|
||||
self.downcast::<Event>().cloned()
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue