InfomediaLtd / angular2-materialize

Angular 2 support for Materialize CSS framework.
https://infomedialtd.github.io/angular2-materialize/
MIT License
406 stars 139 forks source link

Select Inside Modal #383

Open guigons opened 7 years ago

guigons commented 7 years ago

Hello!

Today I meet some problem. I would like to use a "select" like this:

<select formControlName="{{campo.nome}}" materialize="material_select" [materializeSelectOptions]="campo.opcoes">

<option value="{{opcao}}" *ngFor="let opcao of campo.opcoes" >{{opcao}}</option>

Until here It`s works perfectly, but when i put it inside a modal there is a problem with select size, follow an example.

Is there a simple way to solve it? Thanks!

captura de tela 2017-10-19 as 10 11 27
valeedmalik commented 6 years ago

Hi @guigons were you ever able to get around this issue?

shawnstrickland commented 6 years ago

Is the omission of the </option> a typo? I'm not having issues relating to this, with my own selects in modals. I'm using the standard div.row and column sizes in the CSS. Is it a z-index problem?

guigons commented 5 years ago

Hi @guigons were you ever able to get around this issue?

Nothing for while! I've used "style: height: XXXXpx" manually to supply this problem.