Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
Chengwen opened this issue Jul 12, 2017 · 0 comments
Closed
Labels
component: select This is the name of the generic UI component, not the React module!

Comments

@Chengwen
Copy link

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
@oliviertassinari oliviertassinari added the component: select This is the name of the generic UI component, not the React module! label Jul 14, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: select This is the name of the generic UI component, not the React module!
Projects
None yet
Development

No branches or pull requests

2 participants