We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem Here's a minimal example that reproduces the issue:
use dioxus::prelude::*; fn main() { dioxus::launch(App); } #[component] fn App() -> Element { rsx! { form { input { r#type: "file", name: "test" } input { oninput: |_| {} } } } }
Now if I type anything in the second input field, I get the following error on every keystroke:
10:52:03 [linux] ERROR Error parsing user_event: Error("Failed to deserialize event data for event input: Error(\"invalid type: map, expected a string\", line: 0, column: 0)\n'Object {\n \"valid\": Bool(true),\n \"value\": String(\"dsasd\"),\n \"values\": Object {\n \"test\": Array [\n Object {},\n ],\n },\n}'", line: 0, column: 0).Contents: Ok(""), raw: Request { 10:52:03 [linux] method: POST, 10:52:03 [linux] uri: dioxus://index.html/__events, 10:52:03 [linux] version: HTTP/1.1, 10:52:03 [linux] headers: { 10:52:03 [linux] "content-type": "application/json", 10:52:03 [linux] "origin": "dioxus://index.html", 10:52:03 [linux] "user-agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/18.1 Safari/605.1.15", 10:52:03 [linux] "dioxus-data": "eyJuYW1lIjoiaW5wdXQiLCJkYXRhIjp7InZhbHVlcyI6eyJ0ZXN0 Ijpbe31dfSwidmFsaWQiOnRydWUsInZhbHVlIjoiZHNhc2QifSwiZWxlbWVudCI6MiwiYnViYmxlcyI6dHJ1ZX0=", 10:52:03 [linux] }, 10:52:03 [linux] body: [], 10:52:03 [linux] }
I should also mention that a similar error is printed if and when the form's onsubmit handler runs. Environment:
Questionnaire
I'm interested in fixing this myself but don't know where to start.
The text was updated successfully, but these errors were encountered:
Now I have found that on Windows, the onssubmit event never arrives. I don't know if you have encountered it on your end.
Sorry, something went wrong.
No branches or pull requests
Problem
Here's a minimal example that reproduces the issue:
Now if I type anything in the second input field, I get the following error on every keystroke:
I should also mention that a similar error is printed if and when the form's onsubmit handler runs.
Environment:
Questionnaire
I'm interested in fixing this myself but don't know where to start.
The text was updated successfully, but these errors were encountered: