switch for to htmlFor in <Select>
Summary: Was getting error that the label for Select should be using htmlFor not for. found that when wrapping with JSX - changing this inside select fixes this errorlog. Reviewed By: passy Differential Revision: D16264103 fbshipit-source-id: 6a19d723a8356403ba4a169e0b160fed7e137670
This commit is contained in:
committed by
Facebook Github Bot
parent
934bfa97e4
commit
4dbf51f28c
@@ -77,7 +77,7 @@ export default class Select extends Component<{
|
||||
|
||||
if (label) {
|
||||
select = (
|
||||
<Label for={this.selectID}>
|
||||
<Label htmlFor={this.selectID}>
|
||||
<LabelText>{label}</LabelText>
|
||||
{select}
|
||||
</Label>
|
||||
|
||||
Reference in New Issue
Block a user