Sorting options alphabetically on String field (Select input presentation mode)

This is a minor request but useful for content editors.

It would be really cool if you could support sorting values alphabetically in the select field. Either by label or value. This way presentation mode in select dropdown would be sorted and easier to find:

Hi there!

The ordering should depend on the settings on the linked model. If you open the “Additional settings” for your Department model you should see something like this, to control the default ordering of the collection:

Screenshot 2022-01-14 at 17.13.58

HI @s.verna . Maybe I wasn’t clear enough… This is not in the case of “Link” field, but in case of Text filed with select option presentation:

Uh, sorry, wrong guess! Automatic sorting is not advisable… it might not be what everyone wants.
But a way to re-order them easily (without deleting everything) would be a nice addition, I agree!

1 Like

But a way to re-order them easily (without deleting everything) would be a nice addition, I agree!

Yes,I agree. A drag-to-sort feature would work perfectly.

Done! :slight_smile:

2022-01-20 18.03.15

1 Like

Mama mia that was fast :star_struck: :star_struck:. Appreciated!!

1 Like