Copy/Paste value throws Exception
MikePayne opened this issue · comments
When pasting a hex color into a color picker component, this exception is thrown:
Cannot read property 'setColorFromString' of undefined
and this stack trace is logged to the console
TypeError: Cannot read property 'setColorFromString' of undefined
at ColorPickerDirective.changeInput (color-picker.directive.ts:105)
at Wrapper_ColorPickerDirective.handleEvent (wrapper.ngfactory.js:246)
at View_StyleDetailsComponent2.handleEvent_224 (component.ngfactory.js:2333)
at View_StyleDetailsComponent2.eval (core.umd.js:9475)
at HTMLInputElement.eval (platform-browser.umd.js:1473)
at ZoneDelegate.invokeTask (zone.js:265)
at Object.onInvokeTask (core.umd.js:5967)
at ZoneDelegate.invokeTask (zone.js:264)
at Zone.runTask (zone.js:154)
at HTMLInputElement.ZoneTask.invoke (zone.js:335)