Topic: Make label of done button configurable in Timepicker similar to Datepicker

Johan Vandeweerd free asked 6 years ago


The labels of the buttons in the Datepicker can be configured. Please provide the same option for the Timepicker.

Damian Gemza staff commented 6 years ago

Hello Johan, In which way do you want to edit buttons in timepicker? Only to change text which buttons contains? Or you want to have an option that let you translate your's timepicker to other languages? Please provide me your's expected behavior of our timepicker. Best Regards, Damian

Johan Vandeweerd free commented 6 years ago

We only want to be able to change the text (just like the buttons of the Datepicker) so we can translate also the Done buttons of the Timepicker. If we can configure the label using some @Input parameter, that would be fine.

Damian Gemza staff answered 6 years ago


Dear Johan, For simple changing label of done button, please change it's text. Head into /pro/time-picker/timepicker.component.html and search for line 60. There you can change text of this button. But if you need option that allows you to translate label of button to other languages (for example german, spanish, french, polish, etc), we have to write it. PS: If you need only simple input, which allows you to change label of the button while you don't want to edit our source files, we will release it in our next update. Please let me know one more time, what exactly do you need. Best Regards, Damian  

Johan Vandeweerd free commented 6 years ago

Hello Damian We don't want to change the source ourselves because then we need to reapply the change when we update the mdb library. A simple input is enough for us. We can wait for the next release for this. Kind regards Johan Vandeweerd

Damian Gemza staff commented 6 years ago

Johan, i implemented this simple input today's morning. Please wait until we'll release our update :) it should be live in this week. Best Regards, Damian

Johan Vandeweerd free commented 6 years ago

Cool! Thanks for the quick update!

Damian Gemza staff commented 6 years ago

Glad that could help you. Closing ticket. Best Regards, Damian


Please insert min. 20 characters.

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: Free
  • Premium support: No
  • Technology: MDB Angular
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: No
  • Provided link: No
Tags