DioxusLabs / DioxusLabs/dioxus
Web component attribute missing from generated HTML
- Dominant language
- Rust
- Stars
- 39.1k
- Forks
- 1.9k
- Avg merge
- 4d 10h
- Merged PRs (30d)
- 4
Description
**Problem**
Web components with an attribute named "value" are rendered incorrectly. The "value" attribute does not appear in the generated HTML.
**Actual Behavior**
```
```
**Steps To Reproduce**
src/main.rs
```
use dioxus::prelude::*;
fn main() {
dioxus::launch(App);
}
#[component]
fn App() -> Element {
rsx! {
my-component { "value": "something", "title": "Web Component" }
}
}
```
**Expected Behavior**
The "value" attribute set in the generated HTML
```
```
**Environment:**
- Dioxus version: 0.6.2
- Rust version: 1.84.0
- OS info: Fedora Linux
- App platform: web
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.