angular-2-dropdown-multiselect - Customize width 100%

Discussão em 'Angular' iniciado por DarioN1, Novembro 11, 2024.

  1. DarioN1

    DarioN1 Guest

    I'm implementing this angular-2-dropdown-multiselect component:

    https://www.npmjs.com/package/angular-2-dropdown-multiselect

    The component work properly but I need to set its with fit to the container...

    I think that I just have to add "width:100%" somewhere but I don't know where I have to do it.

    Another consideration:

    The component is implemented in a Bootstrap application.

    I have put the component inside a table like:

    <table class="table">
    <tr>
    <td>Search</td>
    <td><ss-multiselect-dropdown [options]="myOptions" [texts]="myTexts" [settings]="mySettings" [(ngModel)]="optionsModel" [ngModelOptions]="{standalone: true}"></ss-multiselect-dropdown></td>
    </tr>
    </table>

    Consideration:


    May be that considering switching from bootstrap table to a bootstrap form should render the listbox fit to container by default...

    Thanks to support

    Continue reading...

Compartilhe esta Página