DioxusLabs / DioxusLabs/dioxus

Web component attribute missing from generated HTML

Open
#3,631 1 comment 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

**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.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.