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

md-not-found doesn't work if there is a ng-if on the md-autocomplete #7035

@ramprabhuj

Description

@ramprabhuj

There is some caching behavior on the MDAutoComplete controller which assumes the element() object will be the same in the lifecycle. This makes the check for ctrl.hasNotFound being reported as undefined. seems like this check should be done with no caching in the link() function and not in the template() function.

http://codepen.io/anon/pen/GoYKOb

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