Allow setting #attributes for form select options

Created on 26 July 2016, over 8 years ago
Updated 22 April 2023, over 1 year ago

Currently there is no way for adding #attributes for form select element options without a custom theme and doing it in the theme layer. More complex javascript front-end implementations require setting data attributes for form select options.

Feature request
Status

Needs work

Version

10.1

Component
Form 

Last updated 1 day ago

Created by

🇫🇮Finland aleksijohansson

Live updates comments and jobs are added and updated live.
  • Needs tests

    The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.

  • Needs issue summary update

    Issue summaries save everyone time if they are kept up-to-date. See Update issue summary task instructions.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024