The problem is that Webform(Version: 8.x-5.0-rc21) module which installed on site (Drupal-Version: 8.6.1) check field conditions state incorrectly. I need to uncheck the "I am a human" checkbox if even one of the selected fields is empty. On the site when I start typing in conditioned field webform.states.js immediately gaves error and desired results cannot be achived.

Cannot read property 'empty' of undefined at states.Dependent.compare.

You can see screenshots for grasping the problem well.

Comments

Alenalen created an issue. See original summary.

alen simonyan’s picture

alen simonyan’s picture

jrockowitz’s picture

Status: Active » Closed (duplicate)
Related issues: +#2995570: #states breaks when OR is used