The Select or Other widget is not responding to events added using the #ajax property through form alter hooks.
There was an existing issue for the Drupal 7 version, and a similar fix appears to work for Drupal 8 as well. I will submit a patch with a suggested fix.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

nplowman created an issue. See original summary.

legolasbo’s picture

Version: 8.x-3.x-dev » 8.x-1.x-dev
Status: Active » Needs review

8.x-3.x-dev is not under development.

Status: Needs review » Needs work

The last submitted patch, select_or_other_ajax_fix.patch, failed testing. View results
- codesniffer_fixes.patch Interdiff of automated coding standards fixes only.

aalin’s picture

Status: Needs work » Needs review
FileSize
796 bytes

fix previous patch

facine’s picture

Status: Needs review » Reviewed & tested by the community

  • daften committed dfbd64d on 4.x authored by aalin
    Issue #2853679 by nplowman, aalin: Select or Other widget not working...
daften’s picture

Version: 8.x-1.x-dev » 4.x-dev
Status: Reviewed & tested by the community » Fixed

Committed on 4.x, thanks!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.