1
0
mirror of https://github.com/processwire/processwire.git synced 2025-08-13 02:04:35 +02:00
This commit is contained in:
Ryan Cramer
2023-07-21 11:05:27 -04:00
parent 3b1e349a4a
commit 4c6c2b7c89
2 changed files with 3 additions and 3 deletions

View File

@@ -1389,8 +1389,8 @@ function InputfieldDependencies($target) {
} }
} else if(condition.type == 'required') { } else if(condition.type == 'required') {
if(matched > 0) { if(matched >= numMatchesRequired) {
// make it required it // make it required
requiredMatches++; requiredMatches++;
} else { } else {
notRequiredMatches++; notRequiredMatches++;

File diff suppressed because one or more lines are too long