Open pedroestabruxelles opened 1 year ago
@pedroestabruxelles which version of angular material you are using ?
14, but you can see from the documentation page that the same issue persists on the latest version.
@nzbin Some sort of feedback would be appreciated since this an actual bug and I don't understand why would not be fixed?
Yeah, I'm seeing the same issue with Angular 15. Setting type="date" or type="datetime" works as expected, but setting [type]="type" displays datetime regardless of the value type has.
I basically had to write two separate components with the type hard coded and swap between them
Steps to reproduce from the example page:
It gets stuck to the datetime type (2023-02-15 15:58), it should switch the view to date only (2023-02-15).