Questions tagged [primeng-dropdowns]
159 questions
0
votes
0 answers
Angular PrimeNG how to get a list of options by clicking on the input filed instead of button?
I am trying to rebuild a dropdown and I faced some issues.
I am using the basic dropdown on my project and I need to see the whole list of options on clicking the input field. I cannot use the arrow icon from the second example. I already tried to…

Oleander93
- 39
- 1
- 7
0
votes
1 answer
Pre select primeng dropdown
I have a value and I need to put it in the dropdown at start:
state is an object {'code':...,'description'}
and listState in array of state
loadValue(stateSave: Object) {//state save is the object just saved
…

poopp
- 1,297
- 2
- 13
- 23
0
votes
0 answers
PrimeNG 9: display values selected in p-multiselect in reactive form
I am trying to use the PrimeNG Multi-Select in a reactive form using their documentation, which is pretty lacking relating to reactive forms.
What I am trying to do is display the selected items below the form control as in their example, except…

Steve
- 14,401
- 35
- 125
- 230
0
votes
1 answer
p-dropdown in p-table dynamic rows PrimeNG - version 9 - Stackblitz added
My requirement is to have dropdowns in each row of two columns of grid as below:
Here is stackblitz for my problem: https://stackblitz.com/edit/angular9-primeng9
User can select values for each row and save. I am able to fetch data from data source…

guravman
- 151
- 4
- 14
0
votes
2 answers
Primeng p-dropdown onchange with user confirmation
Right now this is my implementation for primeng dropdown -
cust.component.html -

SaratBhaswanth
- 340
- 7
- 18
0
votes
1 answer
Loosing my styles on PrimeNG update from 5 to 7
Currently I'm trying to upgrade PrimeNG in my Angular 7 project from ^5.2.7 to ^7.1.3. After the update, when I'm running "ng serve", I'm getting errors related to dropdown and multiselect. To fix this it suggests to install @angular/cdk. But after…

Tigran.S
- 9
- 4
0
votes
0 answers
how to disable specific select item in prime ng dropdown?
I have an angular app in which i have primeNg dropdown like this

Fahad Hassan
- 781
- 10
- 20
0
votes
2 answers
DropDown overlaps margin
I have a problem with DropDown in Angular & Primeng. The DropDown with "style=width:100%" overlaps the border by selected large text.
The width size of then control should not depend on the text length.
An example can find at…

DJ Anti
- 29
- 7
0
votes
1 answer
Angular PrimeNG -- How to change the style of p-dropdown that rowsperpageoptions generates in p-paginator tag
I have a question about p-paginator to ask for help.
On the official website, it gives the example with uses of the attribute "rowsperpageoptions". It is displayed like this,
with p-dropdown that rowsperpageoptions generates along with the page…

Sandy Lueng
- 3
- 3
0
votes
1 answer
How to update defaultLabel dynamically in primeNg multiselect
In primeNg multiselect I'm unselecting the items from ts file, I can able to unselect but this will not gets updated in the input field.
someComponent.html

pjay
- 385
- 1
- 3
- 19
0
votes
1 answer
PrimeNG: Update Table with Filtered Values
I am trying to filter data that is being stored in a dropdown. The filter box is supposed to outside of the drop down options so I needed to create a custom filtering function. I take the input string (such as "Jan") and try to find the matching…

Natti
- 101
- 1
- 2
- 8
0
votes
1 answer
primeng p-dropdown not firing onShow, onHide event
I am using primeng version 6.1.0 in my angular app version 6. I am facing an issue where i want to trigger an event on closing p-dropdown, not by selecting any item but by clicking outside the p-dropdown list. I have already used click event so, I…

kuldeeps1ngh
- 49
- 1
- 8
0
votes
0 answers
There is spinner coming when I click on Drop-down button in p-autocomplete (prime-ng)
I have a drop down, I used primeng p-autocomplete when I am clicking on drop down button it is working fine and when I click on the second time there is spinner coming and nothing happens. there is no console error also.
I checked using many sites…

Debashish dwivedi
- 45
- 1
- 10
0
votes
1 answer
Angular 4 - Do not update ngModel for a specific option in dropdown
I am using PrimeNG to render my dynamic dropdown options. Based on the option value I don't want my ngModel to be udpated.
Let's say if my option is an object such as dropdownObject.canUpdateModel = true, then I want my ngModel to be updated, if not…

Sriks
- 1,669
- 6
- 26
- 40
0
votes
0 answers
PrimeNg P-dropdown Get and Set Value Details?
1.I need an Explanation about, when I select the value at the time my JSON value does not set the corresponding selection.
2.Binding of [optionLabel] & optionLabel doubt?
https://stackblitz.com/edit/angular-ljsuim?file=src%2Fapp%2Fapp.component.html

S.Anitha
- 171
- 1
- 1
- 7