OlivierH
OlivierH

Reputation: 347

Modifying an angulardart material component

I am working with angular_dart and angular_components (material).

I am trying to use a material-dropdown-select with long strings. However, the max width of the popup is limited to 448px, hard-coded. (see source)

What would be the best way to edit / inherit / override that component, so that I can specify the width I want?

Thanks!

Upvotes: 0

Views: 91

Answers (1)

OlivierH
OlivierH

Reputation: 347

Found a solution:

1) Add PopupSizeProviderDirective in the directives of the parent component 2) Use something like ....

Upvotes: 1

Related Questions