mirror of
https://github.com/processwire/processwire.git
synced 2025-08-21 22:06:12 +02:00
Various minor adjustments
This commit is contained in:
@@ -249,7 +249,7 @@ class InputfieldForm extends InputfieldWrapper {
|
||||
|
||||
if($name == '1') {
|
||||
$numFieldsMatched++;
|
||||
} else if($this->selectorMatchesInputfield($selector, $name, 'showIf')) {
|
||||
} else if($this->selectorMatchesInputfield($selector, $name, "'showIf' from '$child->label'")) {
|
||||
$numFieldsMatched++;
|
||||
}
|
||||
|
||||
@@ -310,7 +310,6 @@ class InputfieldForm extends InputfieldWrapper {
|
||||
*
|
||||
* @param WireInputData $input
|
||||
* @param array|Inputfield[] $delayedChildren
|
||||
* @return bool
|
||||
*
|
||||
*/
|
||||
protected function processInputRequiredIf(WireInputData $input, array $delayedChildren) {
|
||||
|
@@ -225,7 +225,7 @@ class InputfieldPage extends Inputfield implements ConfigurableModule {
|
||||
}
|
||||
|
||||
if($page->wire('pages')->cloning) {
|
||||
return true; // bypass check when clong is active
|
||||
return true; // bypass check when cloning is active
|
||||
}
|
||||
|
||||
$valid = true;
|
||||
|
Reference in New Issue
Block a user