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

multiselect widget: widget order on tableform screens #1671

Open
bobintetley opened this issue Feb 21, 2025 · 0 comments
Open

multiselect widget: widget order on tableform screens #1671

bobintetley opened this issue Feb 21, 2025 · 0 comments
Labels
Milestone

Comments

@bobintetley
Copy link
Member

bobintetley commented Feb 21, 2025

The multiselect widget (bsmselect) moves the items that you've picked to the bottom of the list and greys them out.

On screens that use a multiselect in a dialog with tableform, those values stay at the bottom of the list next time the dialog opens for another record, breaking the ordering.

The example we have had a custom report where this is happening is the media flags dropdown when editing media.

I can't think of many places where there are multiselects in a dialog. The query builder might be another, but it might also load the contents when the dialog opens and avoid this.

If this is the only dialog that is effected, the simple fix is to just reload the ordered contents when opening the edit dialog.

@bobintetley bobintetley added this to the 50 milestone Feb 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant