Topic: Problem with timepicker default value in v8.2.0

akrolis pro asked 4 years ago


Expected behavior The same as with v. 8.1.1, where this works ok.

Actual behavior With v.8.2.0 the default value is not render in the timepicker input.

Resources (screenshots, code snippets etc.) html:

<div class="container">
<div class="row">
    <mdb-time-picker  [(ngModel)]="hour" [buttonLabel]="'Done'" [twelvehour]="true" [darktheme]="false" [placeholder]="'Selected time'"[label]="'Light version, 12hours'"></mdb-time-picker>
</div>

ts:

public hour;

constructor() {}

ngOnInit() {
    this.hour = '10:55';

};

v.8.1.1: enter image description here

v.8.2.0: enter image description here


Arkadiusz Idzikowski staff commented 4 years ago

Thank you for reporting this problem, we will take a closer look at this.



Please insert min. 20 characters.

FREE CONSULTATION

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

Status

Opened

Specification of the issue

  • ForumUser: Pro
  • Premium support: No
  • Technology: MDB Angular
  • MDB Version: 8.1.1
  • Device: Desktop
  • Browser: Chrome
  • OS: Windows 10
  • Provided sample code: No
  • Provided link: No