I have embarked on a project to develop a sleek user interface utilizing Angular 4, Angular Materials, and PrimeNG components.
The most recent challenge I am facing involves the MultiSelect Component from PrimeNG: https://www.primefaces.org/primeng/#/multiselect
My goal is to ensure that the width of the component stretches to 100% of its parent container.
Is there a specific procedure I should adhere to in order to modify CSS classes for this particular component? The documentation mentions using "Style" for inline styling - does this mean:
<p-multiSelect [options]="cars" [(ngModel)]="selectedCars" [defaultLabel]="defaultLabel" style="width: 100%;"></p-multiSelect>
Despite following these steps, I have not been able to achieve the desired outcome.
Furthermore, the documentation suggests using "styleClass" as a property to apply a custom CSS class. How can I implement this?
Lastly, a list of CSS classes utilized by the PrimeNG component is provided on their website (e.g. ui-multiselect). I have attempted to override 'ui-multiselect' by defining it in the Angular component's CSS file, but my changes do not reflect.
Any suggestions or insights on what I might be overlooking?