Skip to content
Snippets Groups Projects

Issue #3426324 by Wim Leers: ExistsConstraintValidator should ignore NULL...

Open Issue #3426324 by Wim Leers: ExistsConstraintValidator should ignore NULL...
Open mariosr requested to merge issue/drupal-3468120:10.2.x into 10.2.x
1 file
+ 7
1
Compare changes
  • Side-by-side
  • Inline
@@ -343,7 +343,13 @@ public function validateExposed(&$form, FormStateInterface $form_state) {
return;
}
$identifier = $this->options['expose']['identifier'];
if ($this->options['is_grouped']) {
$identifier = $this->options['group_info']['identifier'];
}
else {
$identifier = $this->options['expose']['identifier'];
}
$input = $form_state->getValue($identifier);
if ($this->options['is_grouped'] && isset($this->options['group_info']['group_items'][$input])) {
Loading