Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 293522

Sort options for entity reference field are unsorted

$
0
0

Problem/Motivation

This is a portion of #2900409: [Meta] Improve UI of Reference field settings form, separated out after comment #133.

If you create an Entity Reference field, when you get to the Field Settings dialog, you will find that the options for what field to use to sort the entities presented for referencing are unsorted. Here's what they look like:
Sort options for reference field

Proposed resolution

Use the new #sort_options property of Select elements to sort the options. This came from
#3065903: Add label sort ability to Select element

Completed tasks

Remaining tasks

  • Add screenshots. (Novice)
  • Add tests.

User interface changes

Sort options will be sorted when setting up an Entity Reference field.

API changes

None.

Data model changes

None.

Release notes snippet

Probably not necessary. Small UI fix.


Viewing all articles
Browse latest Browse all 293522

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>