Skip to content

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

@w1n5t0n99

Description

@w1n5t0n99

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions