Change the mat-autocomplete width?

后端 未结 5 2265
余生分开走
余生分开走 2021-02-13 17:42

It seems like the width is always the width of the input we\'re typing in. Is there no way to make it larger? I have a very small input and

5条回答
  •  逝去的感伤
    2021-02-13 18:13

    Apart from what Athan Soulis says, I've found out by sheer coincidence that panelWidth also accepts value "fit", which does exactly what most of us is aiming for (make it as wide as needed). Not sure it's "any CSS sizing value", but it works.

提交回复
热议问题