Support

Account

Home Forums Feature Requests Select2 outputs: Please include field values

Unread

Select2 outputs: Please include field values

  • It would be very helpful to have the value of an option be included in the output of Select2 fields.

    For example, I have a field that I am filtering to fill with a cohort of users from a site. In the future there may be users who share the same name. In my field output it would be very useful to have the user ID value somewhere (like in a data-value attribute or similar) that I can then use in javascript to modify the UI to differentiate between these users.

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.