DioxusLabs / DioxusLabs/dioxus

Submit button outside form doesn't include any files in onsubmit event

Open
#5,277 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Rust
Stars
39.1k
Forks
1.9k
Avg merge
4d 10h
Merged PRs (30d)
4

Description

When using a submit button outside a multipart form the return onsubmit event files vector is empty. Other field type like text are not affected. This also occurs if the submit button has the form attribute even within a form. I basically just the multipart example from the doc except I moved the button outside the form.

- Dioxus version: 0.7.3
- Rust version: 1.89
- OS info: wsl
- App platform: web

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.