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

PickList Reordering of multiple entries to the top or bottom #13912

Closed
rastarubio opened this issue Oct 18, 2023 · 3 comments
Closed

PickList Reordering of multiple entries to the top or bottom #13912

rastarubio opened this issue Oct 18, 2023 · 3 comments
Labels
Resolution: Stale Issue or pull request is inactivity and unfortunately it will be *closed* if there is no response Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible

Comments

@rastarubio
Copy link

rastarubio commented Oct 18, 2023

Describe the bug

The feature "send to top" or "send to bottom" in p-pickList does not work correctly when multiple entries are selected.

Environment

Windows

Reproducer

Here is a simple stackblitz example:
https://stackblitz.com/edit/8ojywy?file=src%2Fapp%2Fdemo%2Fpicklist-basic-demo.html

No response

Angular version

15.2.5

PrimeNG version

15.0.0

Build / Runtime

Angular CLI App

Language

TypeScript

Node version (for AoT issues node --version)

20.1.0

Browser(s)

No response

Steps to reproduce the behavior

Precondition:

  • We have a PrimeNG Picklist with 4 entries in the order
    entry_1
    entry_2
    entry_3
    entry_4

Steps to reproduce:

  1. Multiselect entry_3 and entry_4.
  2. Move the selected entries to the very top. Use the "button move to top".
  3. Check Order

Actual Result:
entry_4
entry_3
entry_1
entry_2

Expected behavior

Expected Result:
entry_3
entry_4
entry_1
entry_2

@rastarubio rastarubio added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Oct 18, 2023
@ashikjs
Copy link
Contributor

ashikjs commented Oct 18, 2023

Can you create a example

@rastarubio
Copy link
Author

Done. Description updated with stackblitz link.

Copy link

This issue has been automatically marked as stale due to a lack of activity. If this issue is still relevant to you, please leave a comment so we can keep it open. We apologize for not being able to prioritize it sooner. If you have any new information or questions, please share them in your comment!

@github-actions github-actions bot added the Resolution: Stale Issue or pull request is inactivity and unfortunately it will be *closed* if there is no response label Dec 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Resolution: Stale Issue or pull request is inactivity and unfortunately it will be *closed* if there is no response Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible
Projects
None yet
Development

No branches or pull requests

3 participants