Skip to content

MuiFormLabel Focused color problem #11244

@luiscdz

Description

@luiscdz
  • I have searched the issues of this repository and believe that this is not a duplicate.

Expected Behavior

When I create a new theme and override focused prop of MuiFormLabel, MaterialUI not used this new class because it create high new class that override my new class.

Current Behavior

Steps to Reproduce (for bugs)

  1. Create a new theme and override MuiFormLabel on color 'focused' prop https://material-ui.com/api/form-label/#css-api
  2. Create a component with a Texfield
  3. Apply new theme on your app

https://codesandbox.io/s/52poq578vn

Context

I need to change color label when the input is focus, in beta 41 it is work.

Your Environment

Tech Version
Material-UI beta 43+
React 16.3.2
browser Chrome, Firefox

Metadata

Metadata

Assignees

No one assigned

    Labels

    scope: text fieldChanges related to the text field.support: questionCommunity support but can be turned into an improvement.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions