Hi, is it possible to hide the multi-select dropdown field and just have the dropdown body show up under a trigger button?
Like this?
Remote trigger multiselect
Instead of remote trigger, is it possible to do two things:
1) Hide the multiselect label? I want to hide the default label and the label for all selected items (i.e., just show the dropdown icon). I tried the following, but the label still rendered
.ui-multiselect-label {
display:none !important;
}
2) Change the multiselect dropdown caret to another icon. I tried the following, but did not work:
[dropdownIcon]="pi pi-chevron-right"
THank you.
1) Hide the multiselect label? I want to hide the default label and the label for all selected items (i.e., just show the dropdown icon). I tried the following, but the label still rendered
.ui-multiselect-label {
display:none !important;
}
2) Change the multiselect dropdown caret to another icon. I tried the following, but did not work:
[dropdownIcon]="pi pi-chevron-right"
THank you.
-
- Posts: 449
- Joined: 08 Aug 2018, 14:09
Hi,
You can use defaultLabel property for hiding default label. You can use displaySelectedLabel property for hiding item labels. Your icon problem seems to be bug, you can create ticket at here; https://github.com/primefaces/primeng/issues
You can use defaultLabel property for hiding default label. You can use displaySelectedLabel property for hiding item labels. Your icon problem seems to be bug, you can create ticket at here; https://github.com/primefaces/primeng/issues
-
- Posts: 449
- Joined: 08 Aug 2018, 14:09
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
dropdownIcon issue is fixed for upcoming 7.0.5.
-
- Information
-
Who is online
Users browsing this forum: No registered users and 12 guests