Skip to content

Conversation

@ponchautf
Copy link

Hi,
I added a disabled state (based on @khofesh PR #4 )
I also updated radio color to reflect the disabled state.

Add disabled prop
update color on deactivate
Copy link

@tomisu tomisu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This look good. It's exactly what I need too!

This feature allow to reset the current choice (no radio will be selected).
to enable this, add a ref to the component and call reference.current.reset();
Adding setactive feature
fix wrong copy paste on setactive
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