Questions tagged [primeng-dropdowns]
159 questions
1
vote
1 answer
Add input clear button to PrimeNG p-dropdown
I am using PrimeNG and I can't add some button to clear input.
Here is my html:

Hanna Kogut
- 430
- 1
- 5
- 13
1
vote
1 answer
PrimeNG AutoComplete inside a Table
I am sill a bit new to Angular, I am trying to use p-autoComplete inside a table, once a row is selected my auto complete should preselect the current value..I tried using [(ngModel)]="row.bsaName" but it is not working. Since [suggestion] is an…

rgoal
- 1,236
- 11
- 35
- 61
1
vote
1 answer
Save and keep dropdown values after page refresh PrimeNG
How can I save and keep the dropdown value of the dropdown item of PrimeNG after page refresh ?
https://www.primefaces.org/primeng/#/dropdown
HTML

Noah Tony
- 373
- 3
- 7
- 18
1
vote
2 answers
PrimeNG dropdown - nested ng-template
I can't find how to use nested ng-template in angular 5.2.
I have a component in my app using PrimeNG dropdown:
@Component({
selector: 'app-dropdown',
template: `

Shay
- 407
- 2
- 8
- 15
1
vote
2 answers
PrimeNG Dropdown value as string rather than object
In PrimeNG dropdown is there any work around option to add 'optionValue'.
There is currently an optionLabel property but no way to choose a property to represent value so you end up with the whole object. Basically in PrimeNG dropdown, trying to…

ShaMoh
- 1,490
- 3
- 18
- 34
1
vote
0 answers
How to get PrimeNG p-autocomplete and optgroup combination work
I use angular4 code more and implemented a dropdown with autocomplete behavior using p-autoComplete from PrimeNG.
On top of this I want to group the items in the dropdown list based on status. Tried using optgroup, but of no luck. Please help me…

Maurya
- 39
- 5
1
vote
1 answer
Angular 4 + PrimeNG : does TreeNode can contains dropdown lists?
I'm working on an application built with JHipster in Angular 4.3. I'm searching for an angular tree component and I'm trying with PrimeNG.
I need something like this, with nodes and inside the last node, there are dropdownlists. The value displayed…

Neamesis
- 704
- 1
- 13
- 28
1
vote
1 answer
Primeng autocomplete component with different colors for each item - normally they appear in the same color
Currently I want to use the primeng autocomplete multi select component: https://www.primefaces.org/primeng/#/autocomplete
What I need additionally is that every item which I want to select from as an autosuggestion should be colored differently.…

lennykey
- 1,195
- 2
- 12
- 25
1
vote
0 answers
Dropdown list in Jhipster entities using PrimeNg
I'm trying to use PrimeNg in dropdown list of Jhipster generated entities:
my .jdl file
`entity Testcns (testcns) {
libCns String,
dateCreaEnr Instant
}
entity Testfam (testfam) {
nomFam String,
dateCreaEnr Instant
}
relationship ManyToOne…

adup99
- 45
- 2
- 6
1
vote
0 answers
Multiselect Dropdown in Angular 2
I'm using 2 Multiselect dropdown menus in a td element of a table in html. The number of the dropdowns depend on the array.
Group Name | Group…
![]()
i_code
0
votes
1 answer
How to add Primeng dropdown to table header and based on dropdown selection how to show the selected value in primeng TableHow to show primeng dropdown inside p-table header and based on the selection of dropdown selected value it should filter and displays the value in table column.
Anyone help on my queries.
![]()
mankind
0
votes
1 answer
using P-dropdown component filter Value option doesn't set a default filtered value when the component is initializedI'm using primeng p-drowpdown component to filter a table it's options are coming dynamically
i want to set a default filtered option so that when the component is initialized the table date will be filtered by this default value automatically, i…
![]()
sameh
0
votes
0 answers
How to expand and collapse the column in table using PrimeNG angularI need to expand and collapse the column in table using PrimeNG angular
need to expand and collapse the column in table using PrimeNG angular.
need to expand and collapse the column in table using PrimeNG angular.
I need to expand and collapse the…
![]()
Jelly bean
0
votes
1 answer
How to set select value for PrimeNG p-dropdown while updating dataI have p-dropdown for showing countries. I bind the select options correctly there it works fine but I need to set default selected where selected is true while update the data
![]()
Ghayoor Balti
0
votes
1 answer
PrimgNg Dropdown - Show icon and text in placeholderSo what I am trying to achieve is very simple. Have an icon along with text. Below is what I want to achieve.
I am using PrimeNg library in my Angular application.
Dependencies
"@angular/cdk": "^11.1.0",
"@angular/common":…
![]()
Bhavik Patel
|
---|