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] Add a selectedMenuItemStyle property #2718

Closed
rdagger opened this issue Dec 30, 2015 · 2 comments
Closed

[SelectField] Add a selectedMenuItemStyle property #2718

rdagger opened this issue Dec 30, 2015 · 2 comments
Labels
new feature New feature or request

Comments

@rdagger
Copy link

rdagger commented Dec 30, 2015

I’m trying to change the color of the selected menuItem in a SelectField. It looks like you can only change the selected color when you create a Menu component. Then you can use the selectedMenuItemStyle prop. However, the SelectField and DropDown components create the Menu inside the PopOver and the menuItem.selectedTextColor is hard coded to rawTheme.palette.accent1Color. It would be very helpful if selectedMenuItemStyle could be exposed to the SelectField component.

@alitaheri
Copy link
Member

Hmmm this is a very good feature to have. a PR is welcome if you have the time ^_^

@alitaheri alitaheri added the new feature New feature or request label Dec 30, 2015
@oliviertassinari
Copy link
Member

That property was exposed in #5389.

@oliviertassinari oliviertassinari changed the title selectedMenuItemStyle for SelectField [SelectField] Add a selectedMenuItemStyle property Jan 1, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new feature New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants