Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Header template for Listbox #3460

Closed
pierfreeman opened this issue Jul 20, 2017 · 1 comment
Closed

Header template for Listbox #3460

pierfreeman opened this issue Jul 20, 2017 · 1 comment
Assignees
Labels
Type: New Feature Issue contains a new feature or new component request
Milestone

Comments

@pierfreeman
Copy link

There is no guarantee in receiving a response in GitHub Issue Tracker, If you'd like to secure our response, you may consider PrimeNG PRO Support where support is provided within 4 business hours

I'm submitting a ... (check one with "x")

[ ] bug report => Search github for a similar issue or PR before submitting
[x] feature request => Please check if request is not on the roadmap already https://github.com/primefaces/primeng/wiki/Roadmap
[ ] support request => Please do not submit support request here, instead see http://forum.primefaces.org/viewforum.php?f=35

Current behavior

Currently, component like dropdown and listbox do not provide a built-in subcomponent for adding elements to the options list.

Expected behavior

It would be nice to add this feature, similar to the filter option. If an hypotetical option "add" is set to true, then in the same filter header should appear a "+" button.
The subcomponent should carry with him a event, like "onAddOption" to be binded to a custom method.

What is the motivation / use case for changing the behavior?

For my project every time I use a listbox/dropdown with filter option set on, there always is an "add" button for adding new options. So it would be useful to have it built-in.

@cagataycivici cagataycivici changed the title Adding "+/ADD" button to listbox-like component Header template for Listbox Aug 23, 2017
@cagataycivici cagataycivici added this to the 4.2 milestone Aug 23, 2017
@cagataycivici
Copy link
Member

Better to offer a template header so you can place custom content.

@cagataycivici cagataycivici added the Type: New Feature Issue contains a new feature or new component request label Aug 23, 2017
@cagataycivici cagataycivici modified the milestones: 4.3, 4.2 Sep 11, 2017
@Merve7 Merve7 self-assigned this Oct 12, 2017
@Merve7 Merve7 closed this as completed in a3ec55a Oct 13, 2017
televic-education-ruben added a commit to televic-education-ruben/primeng that referenced this issue Jun 28, 2018
…ersion4 to develop

* commit 'd7fdfc9ff5707543c0dd0d1e55a0dad5aaddc1f9': (1032 commits)
  FIX: correct path in d.ts. and js file
  Duplicate onSelect event removed(docs)
  Fixed primefaces#4112
  Docs for progress spinner
  strokeWidth and fill properties for ProgressSpinner
  Initial drop-in of new p-progressSpinner component
  Add text
  Fixed primefaces#3460
  Fixed primefaces#4168
  Fixed primefaces#4152
  Add serenity
  Add null check
  Fixed primefaces#4148
  Fixed primefaces#4141
  Validation class in calendar component
  Fixed primefaces#4131
  New dev version
  Set version
  Better fix for primefaces#4103
  Fixed AOT error
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: New Feature Issue contains a new feature or new component request
Projects
None yet
Development

No branches or pull requests

3 participants