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

Ubercart - Programmatically add product to cart and straight to Checkout

Posted 1 day 10 hours ago by Martin Price | System Horizons Ltd (yorkshirepudding) in How-To and Troubleshooting

How to create a command-line (cli) routine or script (bee not required)

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

File hashing uploads made through TinyMCE

Posted 4 days 18 hours ago by RS Snyder (theflightrs) in How-To and Troubleshooting

Recent comments

Thanks Alejandro. That was the clues I needed.

Posted 19 hours 33 min ago by Martin Price | System Horizons Ltd (yorkshirepudding) on:

Ubercart - Programmatically add product to cart and straight to Checkout

Have you tried uc_cart_add_item()? You need to provide the nid of the product. Then you can use backdrop_goto('cart/checkout'); to send the user to the checkout screen. uc_cart_add_item...

Posted 1 day 4 hours ago by Alejandro Cremaschi (argiepiano) on:

Ubercart - Programmatically add product to cart and straight to Checkout

No problem, let's see how it evolves.  I'd be happy to provide a suggested version if i could.  I will keep that in mind and try learn this hook chain hopefully very soon. I will...

Posted 2 days 15 hours ago by RS Snyder (theflightrs) on:

File hashing uploads made through TinyMCE

Powered by Backdrop CMS

Stay connected

Sign up for our newsletter

Footer Menu

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