mirror of
https://github.com/processwire/processwire.git
synced 2025-08-09 08:17:12 +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') {
|
||||
if(matched > 0) {
|
||||
// make it required it
|
||||
if(matched >= numMatchesRequired) {
|
||||
// make it required
|
||||
requiredMatches++;
|
||||
} else {
|
||||
notRequiredMatches++;
|
||||
|
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user