Material-ui: [FormControlLabel] Add labelPlacement?: 'top' | 'bottom'

Created on 5 Jul 2018  路  5Comments  路  Source: mui-org/material-ui

Currently the FormControlLabel only allows the label to appear on the right of the Control (Switch, Radio, Checkbox). It would be helpful to provide a property to position the Label on the Top, Right and Left.

enhancement good first issue

Most helpful comment

I'm assuming that the checkbox and label would be center aligned (in the case of a top or bottom label) and certainly in the case of a top label it should be aligned "vertically" with other control labels so that if one places multiple controls on a row, the labels all align.

All 5 comments

I'm closing as a duplicate of #11618

@oliviertassinari I don't think it's really a duplicate. I'm looking to add a label top on a Checkbox, and it seems not possible.

ex:
image

@JulienMalige Sure, we can add thetop and bottom variants. Thank you for raising 馃憤 .

I'm assuming that the checkbox and label would be center aligned (in the case of a top or bottom label) and certainly in the case of a top label it should be aligned "vertically" with other control labels so that if one places multiple controls on a row, the labels all align.

@serle Yes, I think too.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ryanflorence picture ryanflorence  路  3Comments

rbozan picture rbozan  路  3Comments

reflog picture reflog  路  3Comments

chris-hinds picture chris-hinds  路  3Comments

FranBran picture FranBran  路  3Comments