mirror of
https://github.com/processwire/processwire.git
synced 2025-08-14 10:45:54 +02:00
Update the Inputfield debug mode toggle-icon hover state to also work with InputfieldFieldset types
This commit is contained in:
@@ -1314,7 +1314,7 @@ class InputfieldWrapper extends Inputfield implements \Countable, \IteratorAggre
|
||||
* #pw-group-retrieval-and-traversal
|
||||
*
|
||||
* @param array $options Options to modify behavior (3.0.169+)
|
||||
* - `getWrappers` (bool): Also include InputfieldWrapper objects? (default=false) 3.0.169+
|
||||
* - `withWrappers` (bool): Also include InputfieldWrapper objects? (default=false) 3.0.169+
|
||||
* @return InputfieldWrapper
|
||||
*
|
||||
*/
|
||||
@@ -1322,7 +1322,7 @@ class InputfieldWrapper extends Inputfield implements \Countable, \IteratorAggre
|
||||
$all = $this->wire(new InputfieldsArray());
|
||||
foreach($this->children() as $child) {
|
||||
if($child instanceof InputfieldWrapper) {
|
||||
if(!empty($options['getWrappers'])) $all->add($child);
|
||||
if(!empty($options['withWrappers'])) $all->add($child);
|
||||
foreach($child->getAll($options) as $c) {
|
||||
$all->add($c);
|
||||
}
|
||||
|
Reference in New Issue
Block a user