I'm working on an Angular2 app that utilizes PrimeNG components.
My issue arises when trying to include a dropdown inside a dialog box. Despite my implementation, the dropdown ends up being cut off due to the constraints of the dialog box, as visible in the screenshot below. I aim for the dropdown to be displayed above the dialog with all options fully visible.
https://i.sstatic.net/niMee.png
The dialog is relatively small, and I prefer not to create a larger one solely for this purpose, given the excess empty space it would entail.
Here's a snippet of my HTML code:
<p-dialog header="Repack" [(visible)]="display" showEffect="fade" minHeight="200">
<div class="row col-md-12" align="center">
<button pButton (click)="viewRepack()" label="View Repack"></button>
</div>
<div class="row col-md-12"><strong>Edit Table Assignment: </strong></div>
<p-dropdown [options]="tables" [(ngModel)]="selectedTable" [style]="{width: '100%'}"></p-dropdown>
<button pButton label="Save" (click)="save()" style="float:right;margin-right:3px;margin-top:5px;"></button>
</p-dialog>
If anyone can provide insight or advice on this matter, it would be greatly appreciated.