Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(RadioButtonGroup): trigger change event #408

Merged
merged 2 commits into from
Nov 24, 2020
Merged

fix(RadioButtonGroup): trigger change event #408

merged 2 commits into from
Nov 24, 2020

Conversation

weaseldotro
Copy link
Contributor

After the previous modifications per #407, the change event would not be dispatched when selecting a radio button. This fixes it.

There is however a slight annoyance: the change event is triggered once after the component is created. This also happened before the previous modifications #407. I tried to fix it in a few ways (for example moving the newly added subscribe in the onMount function) but to no avail :(

@weaseldotro weaseldotro requested a review from metonym as a code owner November 23, 2020 09:53
@vercel
Copy link

vercel bot commented Nov 23, 2020

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/carbon-svelte/carbon-components-svelte/is6hnthf5
✅ Preview: https://carbon-components-svelte-git-patch-2.carbon-svelte.vercel.app

@metonym metonym merged commit 146362a into carbon-design-system:master Nov 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants