Loading webform_validation.module +2 −2 Changes for webform_validation.module: 2 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -101,7 +101,7 @@ function webform_validation_form_webform_ui_element_form_alter(&$form, FormState '#title' => t('Equal Components'), '#description' => t('Select the components to be validated by this validation rule'), '#parents' => ['properties', 'equal_components'], '#default_value' => $customProperties['equal_components'] ?? NULL, '#default_value' => $customProperties['equal_components'] ?? [], '#states' => [ 'visible' => [ ':input[name="properties[equal]"]' => ['checked' => TRUE], Loading Loading @@ -172,7 +172,7 @@ function webform_validation_form_webform_ui_element_form_alter(&$form, FormState '#title' => t('Several Components'), '#description' => t('Select the components to be validated by this validation rule'), '#parents' => ['properties', 'some_of_several_components'], '#default_value' => $customProperties['some_of_several_components'] ?? NULL, '#default_value' => $customProperties['some_of_several_components'] ?? [], '#states' => [ 'visible' => [ ':input[name="properties[some_of_several]"]' => ['checked' => TRUE], Loading Loading
webform_validation.module +2 −2 Changes for webform_validation.module: 2 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -101,7 +101,7 @@ function webform_validation_form_webform_ui_element_form_alter(&$form, FormState '#title' => t('Equal Components'), '#description' => t('Select the components to be validated by this validation rule'), '#parents' => ['properties', 'equal_components'], '#default_value' => $customProperties['equal_components'] ?? NULL, '#default_value' => $customProperties['equal_components'] ?? [], '#states' => [ 'visible' => [ ':input[name="properties[equal]"]' => ['checked' => TRUE], Loading Loading @@ -172,7 +172,7 @@ function webform_validation_form_webform_ui_element_form_alter(&$form, FormState '#title' => t('Several Components'), '#description' => t('Select the components to be validated by this validation rule'), '#parents' => ['properties', 'some_of_several_components'], '#default_value' => $customProperties['some_of_several_components'] ?? NULL, '#default_value' => $customProperties['some_of_several_components'] ?? [], '#states' => [ 'visible' => [ ':input[name="properties[some_of_several]"]' => ['checked' => TRUE], Loading