Issue #2914527 by mlncn: Fix check for combination of values must be unique
Compare changes
+ 18
− 5
@@ -290,8 +290,6 @@ function unique_field_form_validate(array &$form, FormStateInterface $form_state
@@ -290,8 +290,6 @@ function unique_field_form_validate(array &$form, FormStateInterface $form_state
@@ -327,8 +325,8 @@ function unique_field_form_validate(array &$form, FormStateInterface $form_state
@@ -327,8 +325,8 @@ function unique_field_form_validate(array &$form, FormStateInterface $form_state
@@ -340,9 +338,24 @@ function unique_field_form_validate(array &$form, FormStateInterface $form_state
@@ -340,9 +338,24 @@ function unique_field_form_validate(array &$form, FormStateInterface $form_state
$form_state->setErrorByName($field_name, t('The field @field_label has to be unique.', ['@field_label' => $field_label]));