You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
The bug is present in the DateTimePicker, DatePicker, and TimePicker components.
When setting the size property to a string like size="small" a TypeScrip error is thrown:
yanmariomenev
changed the title
[DateInputs] Setting the size property to string throws an error
[DateInputs] Setting the size and fillMode properties to a string value throws an error
Jul 20, 2022
I confirm this issue is still present in datepicker and timepicker components in version 7.1.2.
It's still not possible to set a size for those components via a string attribute. size="small". It's working via angular binding [size]="'small'"
Describe the bug
The bug is present in the DateTimePicker, DatePicker, and TimePicker components.
When setting the size property to a string like size="small" a TypeScrip error is thrown:
This is also valid for fillMode property.
To Reproduce
Steps to reproduce the behavior:
size - https://stackblitz.com/edit/angular-balrnj-yggdax?file=src%2Fapp%2Fconfigurator.component.ts,src%2Fapp%2Fapp.component.ts
fillMode - https://stackblitz.com/edit/angular-9s2ehv-fgybbb?file=src%2Fapp%2Fapp.component.ts
Workaround
https://stackblitz.com/edit/angular-balrnj-kuwblx?file=src%2Fapp%2Fconfigurator.component.ts,src%2Fapp%2Fapp.component.ts
The text was updated successfully, but these errors were encountered: