MaterialTimeControl icon indicating copy to clipboard operation
MaterialTimeControl copied to clipboard

Error running web pack build

Open SergeyBarskiy opened this issue 7 years ago • 1 comments

I am getting the following error during the build process: ERROR in node_modules\material-time-control\src\time-control\w-mat-timepicker\w-mat-timepicker.component.html(14,13): : Property 'time' is private and only accessible within class 'WMatTimePickerComponent'.

Indeed time property is private in WMatTimePickerComponent, hence you cannot bind to it in the template according to this: https://stackoverflow.com/questions/43141576/property-x-is-private-and-only-accessible-within-class-xyzcomponent

Thank you.

PS: Placeholder is misspelled in the same template: placeholder="Selec time" - Selec instead of Select.

SergeyBarskiy avatar Jan 03 '19 20:01 SergeyBarskiy

Create PR to fix both: https://github.com/SteveDunlap13/MaterialTimeControl/pull/27

SergeyBarskiy avatar Jan 03 '19 20:01 SergeyBarskiy