p-dropdown style question

UI Components for Angular
Post Reply
richleach
Posts: 14
Joined: 21 Jan 2018, 01:59

11 Jul 2018, 19:40

I'm using the following code to display the contents of a drop down menu list:
<p-dropdown [(ngModel)]="selectedNumberRow"
[options]="listNumberRow"
(onChange)="checkNumberRow()"
[style]="{'width': '35px','border-bottom':'0px','font-family':'HelveticaNeueMed','font-weight':'700'}">

My question is, I have to change the weight of the font that is getting displayed, and I'm using the [style] attribute to make the change. Unfortunately the font weight is not being affected, even though I was able to remove the border bottom using the same [style] call.

Anyone know how to determine which CSS call is being applied, and how to override it? PrimeNG has proven tricky to me for this very thing....

Thanks in advance,

Rich

Post Reply
  • Information
  • Who is online

    Users browsing this forum: No registered users and 2 guests