mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 18:31:06 +00:00
fix(radio-button): forward focus
, blur
events (#2135)
As identified in #2131, `focus` and `blur` events should be forwarded to the underlying `RadioButton` element.
This commit is contained in:
parent
dd1338ffc4
commit
1462e300d6
6 changed files with 26 additions and 3 deletions
|
@ -26,6 +26,12 @@
|
|||
{id}
|
||||
{name}
|
||||
{ref}
|
||||
on:focus={() => {
|
||||
console.log("focus");
|
||||
}}
|
||||
on:blur={() => {
|
||||
console.log("blur");
|
||||
}}
|
||||
on:change={() => {
|
||||
console.log("change");
|
||||
}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue