Skip to content

Commit

Permalink
[BUGFIX] FormEngine: Validate human-readable selectMultipleSideBySide…
Browse files Browse the repository at this point in the history
… field

If a selectMultipleSideBySide field has a "minItems" constraint, the
wrong field gets validated which makes it impossible to store a record if
an affected field would fulfill the constraint after a change.

This patch adds an additional validation for the human-readable field.

Resolves: #93574
Related: #93191
Releases: master, 10.4
Change-Id: I1bb129f809d18a318ac15872bcfef8fdf3db2395
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/68316
Tested-by: TYPO3com <noreply@typo3.com>
Tested-by: core-ci <typo3@b13.com>
Tested-by: Andreas Fernandez <a.fernandez@scripting-base.de>
Reviewed-by: Andreas Fernandez <a.fernandez@scripting-base.de>
  • Loading branch information
andreaskienast committed Mar 10, 2021
1 parent 513c840 commit 6f32351
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,7 @@ define(['jquery',
// execute the phpcode from $FormEngine->TBE_EDITOR_fieldChanged_func
FormEngine.legacyFieldChangedCb();
FormEngineValidation.markFieldAsChanged($originalFieldEl);
FormEngine.Validation.validateField($fieldEl);
FormEngine.Validation.validateField($availableFieldEl);
}

Expand Down

0 comments on commit 6f32351

Please sign in to comment.