Skip to main content
backdrop Backdrop Forum
  • Welcome!
    • Login
    • Register
  • Forum
  • FAQ
  • Following
  • About
  • Wishlist
  1. Home ยป
  2. [UX] Provide an option to sort the keys/values of the options select form elements

[UX] Provide an option to sort the keys/values of the options select form elements

This is basically to consider improving the option select elements that we've added in Backdrop core v1.12.0 (see #1005) to include the functionality of https://www.drupal.org/project/select_option_sort, which allows sorting the options in the select element by key (if the "Custom keys" checkbox is ticked) or value, and also ascending/descending.

Before: image

After (suggested mockup): image

GitHub Link: 
https://github.com/backdrop/backdrop-issues/issues/5823
GitHub Issue #: 
5823

Weekly office hours

Bring your questions to our weekly virtual office hours, every Wednesday. Everyone is welcome.

Recent topics

Looking for examples of (local) news websites running on BackdropCMS

Posted 1 day 6 hours ago by Erik Wesselius (zilvervos) in Other

CKEditor5: Here's how to prevent "Select Image from Library" from appearing

Posted 3 days 3 hours ago by (Chrys) in How-To and Troubleshooting

Link field in a Content Type is malformed for annonymous user- Permission issue?

Posted 5 days 6 hours ago by (Chrys) in How-To and Troubleshooting

Recent comments

The answer is off topic, but I'll add a little. 1. Backend. Why you don't need links to other websites: Since you know the structure of your site and content, you can decide for...

Posted 9 hours 33 min ago by (Enthusiast) on:

Looking for examples of (local) news websites running on BackdropCMS

Hi Chrys, AI isn't always your best friend. A form alter hook is correct, but hiding by CSS isn't ideal. You could look at how the TinyMCE integration does it, which provides hiding...

Posted 15 hours 47 min ago by (indigoxela) on:

CKEditor5: Here's how to prevent "Select Image from Library" from appearing

Hi zilvervos..., Welcome back to Backdrop. I've just started a new "news" website for a client, but it's at the very early stages. I'm hoping to have a soft launch in a couple...

Posted 1 day 5 hours ago by (DrAlbany) on:

Looking for examples of (local) news websites running on BackdropCMS

Powered by Backdrop CMS

Stay connected

Sign up for our newsletter

Footer Menu

  • documentation
  • localization
  • events
  • forum
  • backdropcms.org