Agranom / ngx-material-timepicker

Material desing timepicker for Angular 6.0+
https://agranom.github.io/ngx-material-timepicker/
MIT License
342 stars 139 forks source link

HH:MM not displaying while timepicker is shown inside mat-dialog-content #466

Open seethub23 opened 7 months ago

seethub23 commented 7 months ago

The time picker works fine in other screens but when inside the material modal, it gives console error ERROR Error: NG01352: If ngModel is used within a form tag, either the name attribute must be set or the form control must be defined as 'standalone' in ngModelOptions. and the HH:MM is not displayed. The issue occurs only when timepicker is placed inside material dialog

The Issue is occuring in project Angular V14 and angular material version 14. 

![Uploading Clock issue.png…]()