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.

$mdUtil.initOptionalProperties breaks with angular 1.4.1 #3315

@mprokopowicz

Description

@mprokopowicz

Since this commit in angularjs: angular/angular.js@a6339d3
$mdUtil.initOptionalProperties could not relay on presence of attr in $attrs to determinate "hasKey" variable value.

As for now, this causes invalid defaults, for example in mdTabs.

I'm working on a PR with updated initOptionalProperties.

Also I think it will be much safer (and more readable) to explicit provide defaults in all components.

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