Material-ui: [RadioGroup] horizontal options

Created on 25 Aug 2017  路  7Comments  路  Source: mui-org/material-ui

Description

As far as i have manged to research the FormGroup in the next branch accepts a row prop that sets the flex direction to "row" :-)

It would be great if the RadioGroup also allowed for a row prop that would set the flex-flexdirection to "row" which would place the radio button option horizontally.

Images & references

image

docs good first issue

Most helpful comment

The detailed answer is to include the prop row={true} on a RadioGroup control.

All 7 comments

It would be great if the RadioGroup also allowed for a row prop

RadioGroup does has this property. We miss // @inheritedComponent FormGroup to have it documented in the API.

Closed by 2b45f000a2734f981b9fcc47cc8b7730db440efe

@oliviertassinari Ahh okay :-)

Well, i think that might be the reason for the missing row prop in the typescript typings too :-)

Typescript should be smart enough to figure it out. I don't think that we should help him.

Allright :-)

That sounds like the issue might be fixed :-)

Thanks for the quick response :-)

The detailed answer is to include the prop row={true} on a RadioGroup control.

Forgive me, but I think this is still missing from the API Documentation?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

activatedgeek picture activatedgeek  路  3Comments

ghost picture ghost  路  3Comments

ghost picture ghost  路  3Comments

FranBran picture FranBran  路  3Comments

iamzhouyi picture iamzhouyi  路  3Comments