Skip to content
This repository has been archived by the owner on Sep 21, 2024. It is now read-only.

hideMinutes of Undefined #24

Open
joharzmn opened this issue Jul 4, 2019 · 0 comments
Open

hideMinutes of Undefined #24

joharzmn opened this issue Jul 4, 2019 · 0 comments

Comments

@joharzmn
Copy link

joharzmn commented Jul 4, 2019

Errors

ERROR TypeError: Cannot read property 'hideMinutesTab' of undefined
    at Object.eval [as updateDirectives] (ng:///CronEditorModule/CronEditorComponent.ngfactory.js:2687)
    at Object.debugUpdateDirectives [as updateDirectives] (vendor.js:73542)
    at checkAndUpdateView (vendor.js:72938)
    at callViewAction (vendor.js:73179)
    at execComponentViewsAction (vendor.js:73121)
    at checkAndUpdateView (vendor.js:72944)
    at callViewAction (vendor.js:73179)
    at execComponentViewsAction (vendor.js:73121)
    at checkAndUpdateView (vendor.js:72944)
    at callViewAction (vendor.js:73179)
ng:///SharedModule/CronEditorComponent.ngfactory.js:7 ERROR TypeError: Cannot read property 'removeSeconds' of undefined
    at CronEditorComponent.push../node_modules/cron-editor/fesm5/cron-editor.js.CronEditorComponent.ngOnInit (vendor.js:308903)
    at checkAndUpdateDirectiveInline (vendor.js:71730)
    at checkAndUpdateNodeInline (vendor.js:72994)
    at checkAndUpdateNode (vendor.js:72956)
    at debugCheckAndUpdateNode (vendor.js:73590)
    at debugCheckDirectivesFn (vendor.js:73550)
    at Object.eval [as updateDirectives] (ng:///SharedModule/CronEditorComponent.ngfactory.js:21)
    at Object.debugUpdateDirectives [as updateDirectives] (vendor.js:73542)
    at checkAndUpdateView (vendor.js:72938)
    at callViewAction (vendor.js:73179)

This is how i implemented
1- npm i cron-editor -S
2- Import in my Module
3- Used in Html <cron-editor [(cron)]="cronExpression"></cron-editor>

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant