Questions tagged [primeng-dropdowns]
159 questions
0
votes
1 answer
How to add extra custom button in primng dropdown box Angular
Im using primeng for Angular UI component library, and i want to know how to add extra custom button in primng dropdown box (not in its dialog box).
ex:- In the spot as shown in img

Nishan
- 11
- 3
0
votes
1 answer
Angular - Dropdown validation - Validation is shown before the mouseup event
I'm using reactive forms for implementing validation behavior.
I have a problem with the validation of a dropdown component. The validation is shown before the mouseup event (The problem (yt link): Dropdown Validation)
Stackblitz link:…

Domagoj Hamzic
- 300
- 3
- 17
0
votes
0 answers
How to create a dropdown as language selector? Angular Primeng
I want to create a dropdown using angular PrimeNG as my web page language selector. I already create using angular material but this time I want to create using PrimeNG.
toolbar.component.html
user16558324
0
votes
3 answers
How to use empty value in select box?
I have the massive of employees positions:
positions = [
{
id: '0',
title: 'position0',
},
{
id: '1',
title: 'position1',
},
{
id: '2',
title: 'position2',
},
{
id: '3',
…

sergey kalinin
- 57
- 1
- 3
0
votes
1 answer
How to disable primeng multiselect dropdown options of respective multiselect dropdown when a value is changed in a loop
I am using primeng v6.x multiselect inside a table where data rendered dynamically in a loop.
My options array looks as follows:
let data = [
{ key: "ALL", desc: "All", disabled: false },
{ key: "PQR", desc: "Pqr", disabled: false },
{ key:…

Siva Charan
- 1
- 2
0
votes
1 answer
NgPrime p-dropdown Template Advanced with Templating, Filtering and Clear Icon-collapses when wraping with form element
https://stackblitz.com/edit/primeng-dropdown-demo?file=src%2Fapp%2Fapp.component.html
When i wrap the following code in Advanced with Templating, Filtering and Clear Icon

user2435182
- 47
- 1
- 10
0
votes
2 answers
PrimeNg dropdown in multiple p-tree nodes: Differentiating selected options
I have a PrimeNg p-tree
TreeNodes are expressed with ng-templates, one of the templates being as follows.

anvw
- 149
- 3
- 15
0
votes
1 answer
Angular p-dropdown create options dynamically from one options array
I am trying to create multiple dropdowns in Angular and need every drop down to display one less option. I got this far but now my dropdown always initializes with a value.
I have multiple dropdown and try to use one single options array and…

Lucas
- 23
- 1
- 5
0
votes
1 answer
How to click to the selected item then navigate to the corresponding component in p-dropdown?
Please see the p-dropdown
I modified the class City which now has one more property url. This property indicates the path of a component.
I have created the dropdown as
interface City {
name: string;
code: string;
url: string;
}
export…

Hello
- 796
- 8
- 30
0
votes
0 answers
PrimgNG + Angular Required field Validator for dropdown
I'm using a PrimeNG dropdown component and need to trigger a required field validation. when I click on form submit browser level validations is showing only error message. but I want dropdown + error message to be displayed. this behaviour is only…

Irfan
- 1
0
votes
0 answers
In primeng how can we get the default dropdown value filter for a column of a table
enter code here enter code here
enter code…

Aleti av
- 11
- 6
0
votes
2 answers
How to make sure dropdown model loads after dropdown options load completes without breaking async nature of code in angular 9
I have primeng dropdown and two service calls, one making calls to get dropdown options and one to get model binding data. Once I saved the selected value and reload the page, occasionally selected value is not showing. I believe this because of the…

LilRazi
- 690
- 12
- 33
0
votes
1 answer
Angular primeNg pEditableColumn dropdown onChange event
I have a p-table with p-editable column which is a dropdown as follows:

Geek
- 3,187
- 15
- 70
- 115
0
votes
1 answer
Zoom-in bug in iOS with primeng
Hi I'm using primeng library with angular version 8.
I'm using 3 dropdowns and 1 calendar. And Only on iOS devices on mobile view When I choose an option from dropdown or click to choose a day on calendar, it zooms in.
I tested it with chrome,…

Pamela Pereyra
- 101
- 1
- 10
0
votes
1 answer
Primeng dropdown prevent overlay close on item select and update the options
I'm trying to update the list of options in dropdown after click the "-More-" option.
I get it work with template for options and binding click event I prevent it stopPropagation() func.

user1844923
- 179
- 1
- 11