Skip to content

[SelectField] The prop "labelStyle" in Select Field doesn't work in Chrome #7419

@Chengwen

Description

@Chengwen

Problem description

The prop "labelStyle" in Select Field doesn't work in Chrome, it works in IE11

Link to minimal working code that reproduces the issue

const styles = {
    labelStyle: {
	fontSize: '14px',
	color: '#ffffff',
    }
}

<SelectField
    labelStyle={styles.labelStyle}
    onChange={this.handleDropdownChange}
    value={this.state.value}
>
    <MenuItem value={1} primaryText="Custom width" />
    <MenuItem value={2} primaryText="Every Night" />
    <MenuItem value={3} primaryText="Weeknights" />
</SelectField>

Versions

  • Material-UI: 0.18.6
  • React: 15.6.1
  • Browser: Chrome 59.0.3071.115

Metadata

Metadata

Assignees

No one assigned

    Labels

    scope: selectChanges related to the select.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions