Skip to content

Exception thrown when selecting an option with MatSelect on angular 5.0.0-rc.3 #7946

@dushkostanoeski

Description

@dushkostanoeski

I know that technically v5 isn't supported, but I am guessing that it will be as soon as it gets to a final version. The following exception is thrown when you select an option (even the default empty one) :

ERROR TypeError: Cannot read property 'nativeElement' of undefined
    at MatSelect._onFadeInDone (select.es5.js:744)
    at Object.eval [as handleEvent] (MatSelect.html:1)
    at handleEvent (core.js:13254)
    at callWithDebugContext (core.js:14739)
    at Object.debugHandleEvent [as handleEvent] (core.js:14326)
    at dispatchEvent (core.js:9703)
    at core.js:10317
    at animations.js:348
    at Array.forEach (<anonymous>)
    at animations.js:346

I'm using beta12

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions