Holiday Notice: Support will be provided on a limited scale from December 24th, 2024, to January 2nd, 2025. Happy holidays and a wonderful New Year!


Topic: How to remove Clear button in time picker?

hightech free asked 4 years ago


I want to remove the Clear button in time picker. I found no option in time picker and I have tried this CSS and it doesn't work:

  .picker__footer:nth-child(2) {

        display:none!important;

    }

enter image description here


hightech free answered 4 years ago


my version of MDB doesn't have a clear class. enter image description here but this code worked for me:

.picker__footer .clockpicker-button:nth-child(2) {
            display: none;
        }

Thank you Marta.


Marta Wierzbicka staff commented 4 years ago

Hi,

there should be a "clear" button in a time picker, please check out the documentation: https://mdbootstrap.com/docs/jquery/forms/time-picker/.

Best, Marta


Marta Wierzbicka staff answered 4 years ago



Please insert min. 20 characters.

FREE CONSULTATION

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

Status

Answered

Specification of the issue

  • ForumUser: Free
  • Premium support: No
  • Technology: MDB jQuery
  • MDB Version: 4.14.1
  • Device: laptop
  • Browser: chrome
  • OS: windows
  • Provided sample code: No
  • Provided link: Yes