array(
'type' => 'repeater',
'fields' => array(
array(
'id' => 'show_link',
'type' => 'switch',
'title' => 'Show Link',
'default' => '0',
),
array(
'id' => 'absolute_or_relative_url',
'type' => 'switch',
'title' => 'Absolute URL',
'default' => '0',
'required' => array('show_link', '=', '1'),
'force_output' => true,
),
array(
'id' => 'link_to_page',
'type' => 'select',
'data' => 'pages',
'required' => array(
array('show_link', '=', '1'),
array('absolute_or_relative_url', '=', '1'),
),
'force_output' => true,
),
array(
'id' => 'link_to_absolute_url',
'type' => 'text',
'required' => array(
array('show_link', '=', '1'),
array('absolute_or_relative_url', '=', '0'),
),
'force_output' => true,
),
),
)
Steps to reproduce
requireddependenciesshow_link) - dependent fields appear correctlyExpected Behavior
Actual Behavior
Any Error Details (PHP/JavaScript)
No PHP errors are generated. JavaScript console shows no errors in dev mode.
Additional Context
Working Configuration (Outside Repeater)
The identical field configuration works perfectly when placed outside of a repeater field. Fields remain visible after page refresh when their conditions are met.
Attempted Solutions
Tried multiple approaches that should work according to Redux documentation:
force_output => trueon dependent fields'1','0') instead of integers for comparisonsarray(array('field1', '=', '1'), array('field2', '=', '0'))array('field1', '=', '1')=,equals,!=)Environment
Impact
This appears to be a fundamental issue with how Redux handles field dependencies within repeater contexts after page initialization. The field dependency JavaScript logic seems to not properly restore field visibility states for repeater field children when the page loads with existing saved values.
Suggested Investigation Areas
This bug significantly impacts the usability of complex repeater configurations that rely on conditional field visibility.