I'm having difficulties with the 'depends' functionality in the configuration.
<depends> to some configuration option, it's hidden unless the given option's value matches.
<option_one> <label>Option 1</label> ... </option_one> <option_two> <label>Option 2</label> ... <depends><option_one>1</option_one></depends> </option_two
Obviously I'm missing some fields, but you get the point. Option 2 only appears when Option 1 has the value '1'.
Now my problem is, when I try to apply this to an option with a backend and frontend model, this depending doesn't work:
<option_three> ... <frontend_model>module/adminhtml_form_field_test</frontend_model> <backend_model>adminhtml/system_config_backend_serialized_array</backend_model> ... <depends><option_one>1</option_one></depends> </option_three>
This option won't take Option 1 in account, it's just always visible.
Am I doing something wrong, or is this a bug, or 'works as designed'?