Color of rowsPerPage dropdown being white in table

Forum rules
Please note that response time for technical support is within 3-5 business days.
Post Reply
predrag.crnogorac
Posts: 6
Joined: 06 Dec 2019, 11:03

09 Dec 2019, 10:34

Hi,

I've seen there was problem like this in other themes.

Code: Select all

<p-table #dt [value]="currentPage.content" [lazy]="true" [rowsPerPageOptions]="[10,20,50]"
            (onLazyLoad)="loadPage($event)" [totalRecords]="currentPage.totalElements" [columns]="cols"
            selectionMode="single" sortOrder="1" [paginator]="currentPage.totalElements > 10" [autoLayout]="true" rows="10" sortMode="multiple"
            responsive="true" [first]="first" (onRowSelect)="onRowSelect($event)" paginatorDropdownAppendTo="body">
            .
            .
            .
 </p-table>
Fixed it by adding

Code: Select all

body {
    .ui-dropdown {
        .ui-dropdown-label {
            &.ui-inputtext {
                color: #000;
            }
        }
    }
}
Want to know if it you will fix it in future and add it to theme?

merve7
Posts: 861
Joined: 12 Sep 2017, 10:44

11 Dec 2019, 15:46

Hi,
Thank you for your feedback and solution. We fixed and added for the next release.

Post Reply

Return to “Sapphire - PrimeNG”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 2 guests