Make p-dropdown options right aligned in primeng

I have following html code which use PrimeNG p-Dropdown component. I want to align the options to be right aligned.(Left aligned by default). Is there a way to achieve this. I tried updating the style class but no luck with that either. <div class="form-group"> <p-dropdown inputId="state" formControlName="{{demos}}" [options]="demoOptions" [styleClass]="’prm-dropdown prm-filter-dropdown’" [dropdownIcon]="’bx bxs-chevron-down’" placeholder="{{demoOptions}}" (onChange)="onValueChange(demoOptionId)"> </p-dropdown> […]

By Avilon
Categorized as angular, primefaces, primeng Tagged , ,

Still Have Questions?

Our dedicated development team is here for you!

We can help you find answers to your question for as low as 5$.

Contact Us