When having a form rendering within an ajax modal, the child select id is edit-field-example--RWzkppi-lcc instead of edit-field-example so the following selector doesn't catch it var select = document.getElementById(elementId);

CommentFileSizeAuthor
#2 2994155-2.patch553 bytestavib47

Comments

tavib47 created an issue. See original summary.

tavib47’s picture

StatusFileSize
new553 bytes
tim-diels’s picture

Status: Active » Reviewed & tested by the community

Working with multistep forms gives the same problem.
The patch is looking good and working for me, so setting this to RTBC

tim-diels’s picture

Version: 8.x-1.0-beta1 » 8.x-1.0-beta9

Applicable for 8.x-1.0-beta9

tim-diels’s picture

Assigned: tavib47 » Unassigned

  • colan committed c6be938 on 8.x-1.x authored by tavib47
    Issue #2994155 by tavib47: Uncaught TypeError: Cannot read property '...
colan’s picture

Status: Reviewed & tested by the community » Fixed

Thanks folks!

Status: Fixed » Closed (fixed)

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