Problem/Motivation

If the state of an element has been set using #subelement__states, the back-end #states validation stops working.

I have attached a webform as example. Once the checkbox is checked, the #state makes the city of the address element required. However, in the back-end validation it always fails.

Example

Comments

bartlangelaan created an issue. See original summary.

jrockowitz’s picture

Status: Active » Needs review
StatusFileSize
new1.88 KB
jrockowitz’s picture

StatusFileSize
new1.88 KB
jrockowitz’s picture

StatusFileSize
new8.35 KB
jrockowitz’s picture

I committed the patch. Please download the latest dev release to review.

  • jrockowitz authored 63d3dcf on 8.x-5.x
    Issue #2907185 by jrockowitz, bartlangelaan: State validation fails on...
jrockowitz’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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