Topic: Time Picker And Date Picker Not Reflecting (ForMDB Angular)

sauravs24 free asked 7 years ago


Hi,I  am trying to use DatePicker and TimePicker Component from the following link:
https://mdbootstrap.com/angular/advanced/datepicker/
https://mdbootstrap.com/angular/advanced/timepicker/
For TimePicker:<mdb-time-picker [twelvehour]="true" [darktheme]="false" [placeholder]="'Selected time'" [label]="'Lightversion, 12hours'" [showClock]="true" [ngModel]="lightClock"></mdb-time-picker>
For Date Picker:<mdb-date-picker name="mydate" [options]="myDatePickerOptions" [placeholder]="'Selected date'" [(ngModel)]="model" required></mdb-date-picker>
But these components are not reflecting when I am trying to run the code.Am I missing anything?Please Help.

Witold Tkaczyk free answered 7 years ago


Hello, sauravs   MDB Angular Timepicker is PRO version's component. If you want to implement it get Angular Pro. You can find it here.   Best regards

Adrian Sawicki free answered 7 years ago


Hello, Did you add every needed import? Could you show me your typescript file?

sauravs24 free commented 7 years ago

What imports do I have add for this?I am attaching you the typescript file app.module.ts and app.component.ts for your reference.Please let me know if I am missing anything for this.Thanks in advance Code Reference Screenshot Links: https://ibb.co/diWdTk https://ibb.co/fijMg5


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: Yes
  • Provided link: No
Tags