Topic: Customizing the input field for a Timepicker or Datepicker
Youcef pro asked 6 years ago
Hi,
We’ve been trying to customize the Date Picker and Time Picker. We’ve managed to customize the component, but not the corresponding input field.
Could you please explain how to customize the input field ?
Bests
Add comment
Arkadiusz Idzikowski staff answered 6 years ago
Hello,
You can target the input element by using these classes:
.picker .form-control { your styles }
Sometimes it might be necessary to add '!important' to overwrite some styles. Please let me know if that works for you.
Regards,
Arek
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Status
Resolved
Specification of the issue
- ForumUser: Pro
- Premium support: No
- Technology: MDB Angular
- MDB Version: 6.2.3
- Device: PC
- Browser: Chrome
- OS: Windows 10
- Provided sample code: No
- Provided link: No