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.

TypeError for empty flex attribute on md-button #6057

Closed
@julienpa

Description

@julienpa

I get this error since updating to rc6 this morning:

TypeError: Cannot read property 'warn' of undefined at validateAttributeUsage
(angular-material.js:3374:15)
[...]
at angular-material.js:1567:20 <md-button flex="" ng-click="switchAction()"
aria-label="Change server" class="md-primary">

I guess it is because the flex attribute is empty? Is it now required to have a value?

Metadata

Metadata

Labels

pr: merge readyThis PR is ready for a caretaker to review

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions