Commit b71d7e6a authored by alexpott's avatar alexpott

Issue #2350723 by rjacobs: State toggles for Enable alt/title and Require alt/title not functioning

parent 8a8c28c4
......@@ -269,7 +269,7 @@ public function fieldSettingsForm(array $form, FormStateInterface $form_state) {
'#weight' => 10,
'#states' => array(
'visible' => array(
':input[name="instance[settings][alt_field]"]' => array('checked' => TRUE),
':input[name="field[settings][alt_field]"]' => array('checked' => TRUE),
),
),
);
......@@ -287,7 +287,7 @@ public function fieldSettingsForm(array $form, FormStateInterface $form_state) {
'#weight' => 12,
'#states' => array(
'visible' => array(
':input[name="instance[settings][title_field]"]' => array('checked' => TRUE),
':input[name="field[settings][title_field]"]' => array('checked' => TRUE),
),
),
);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment