can't bind to `open` attribute on `<details>` or `<dialog>` elements
- Dominant language
- C#
- Stars
- 38.4k
- Forks
- 10.9k
- Avg merge
- 2d 10h
- Merged PRs (30d)
- 281
Description
### Is there an existing issue for this?
- [x] I have searched the existing issues
### Describe the bug
cannot bind to open attribute
```razor
Summary
expanded text
@code {
public bool IsOpen { get; set; }
}
```
or
```razor
content
@code {
public bool IsOpen { get; set; }
}
```
### Expected Behavior
for this to work, and for any html attribute to be bindable, rather than a list of:
- value
- checked
- others
I can't seem to find a list of the supported bindable attributes or events in the documentation either
### Steps To Reproduce
_No response_
### Exceptions (if any)
_No response_
### .NET Version
9.0.304
### Anything else?
_No response_
Contributor guide
Research direction
Start from the two Razor reproductions using @bind-open on and , and identify how supported bindable attributes and events are documented or handled. Done means the requested binding behavior is defined and implemented, or the supported-attributes limitation is clearly documented with guidance for these elements.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- frontend, web-dev
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100