DioxusLabs / DioxusLabs/dioxus
Hydration fails to acknowledge the assigned value on a selection field.
- Dominant language
- Rust
- Stars
- 39.1k
- Forks
- 1.9k
- Avg merge
- 4d 10h
- Merged PRs (30d)
- 4
Description
**Problem**
While experimenting with the Dioxus platform, I have discovered that select boxes and forms do not hydrate well.
After discussing this issue with @ealmloff, a member of the core, we have decided to isolate this case in a minimal app that showcases the problem with option select boxes.
As you can see, when you refresh the page, hydration does not happen correctly based on the server generated value set on the select field.
The expected behavior is to render option2, but it is currently displaying option1 instead, disregarding the assigned value.
**Steps To Reproduce**
https://github.com/boymaas/dioxus-select-bug
**Expected behavior**
I expect to see option2 after hydration, is displays the first value option1
**Screenshots**
**Environment:**
See the github repo
**Questionnaire**
- [X] I'm interested in fixing this myself but don't know where to start
- [ ] I would like to fix and I have a solution
- [X] I don't have time to fix this right now, but maybe later
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.