Skip to content

Conversation

@Slessi
Copy link
Contributor

@Slessi Slessi commented Jan 5, 2019

Related to #13915

Copy link
Member

@oliviertassinari oliviertassinari left a comment

Choose a reason for hiding this comment

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

@Slessi You are right, we should be supporting the defaultValue property! Given the component root element is a <div> element, I think that we should:

  • document this new supported property
  • destructure it in the render method so it doesn't leak to the child.

This change makes me think of the react-final-form integration with Material-UI.
People can either provide the RadioGroup as a form field component or provide each Radio (the encouraged approach).

@oliviertassinari oliviertassinari added type: new feature Expand the scope of the product to solve a new problem. scope: radio Changes related to the radio. PR: needs revision labels Jan 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope: radio Changes related to the radio. type: new feature Expand the scope of the product to solve a new problem.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants