issues
search
vscode-elements
/
elements
Web component library for developing Visual Studio Code extensions
https://vscode-elements.github.io
MIT License
156
stars
27
forks
source link
Unexpected behaviour of vscode-radio and vscode-radio-group components
#111
Closed
Ayyoub-ESSADEQ
closed
1 year ago
Ayyoub-ESSADEQ
commented
1 year ago
The issue occured when I used a
checked
attribute with a vscode-radio. When you check other
vscode-radio
components inside the
vscode-radio-group
, the one that has
checked
attribute doesn't get unchecked until you unckeck it manually.
Ayyoub-ESSADEQ
commented
1 year ago
I solved the problem by listening for
vsc-change
event
vscode-radio
components and unckeck the one that was set to be initially checked.
checked
attribute with a vscode-radio. When you check othervscode-radio
components inside thevscode-radio-group
, the one that haschecked
attribute doesn't get unchecked until you unckeck it manually.