mirror of
https://github.com/yewstack/yew.git
synced 2025-12-08 21:26:25 +00:00
onsubmit takes a `SubmitEvent` which is not available in web_sys. `SubmitEvent` does not inherit from `FocusEvent` so `FocusEvent::related_target` panics too! As with onformdata onsubmit will use `Event` to remain safe and requires users to define their own type or use Reflect api. Trybuild change because of the new comment.