Topic: date picker input

Group free asked 3 years ago

date picker input can not fixed width 100%I have tried .MuiFormControl-root-3 { width: 100%;} but some time this root-3 id change please help me

enter image description here

Aliaksandr Andrasiuk staff answered 3 years ago


Try to add width: 100% to div with class=MuiFormControl-root-1 or as johndoe mentioned above use div[class^="MuiFormControl"] { width: 100%; } if id changes sometimes.

That's should resolve the problem. If will not help please contact me again.

Best regards,

Aliaksandr from MDB.

johndoe pro answered 3 years ago

See if this works for you.

div[class^="MuiFormControl"] { width: 100%; }

Please insert min. 20 characters.


Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.



Specification of the issue

  • User: Free
  • Premium support: No
  • Technology: MDB React
  • MDB Version: 4.12.0
  • Device: windowns
  • Browser: chrome
  • OS: windows-10
  • Provided sample code: No
  • Provided link: No