mirror of
https://github.com/processwire/processwire.git
synced 2025-08-13 02:04:35 +02:00
Fix issue processwire/processwire-issues#889
This commit is contained in:
@@ -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
Reference in New Issue
Block a user