Required for info field
Hi, im trying to hide an info field with this code:
array( 'id' => 'display_gmap', 'type' => 'switch', 'title' => __('Display Google Maps', 'ep-framework'), 'subtitle' => '', 'desc' => __('', 'ep-framework'), 'default' => '1' ), array( 'id' => 'info_gmap', 'type' => 'info', 'required' => array('display_gmap', '=', '1'), 'title' => __( 'How to get the latitude and longitude:', 'redux-framework-demo' ), 'desc' => __( 'Lorem ipsum', 'redux-framework-demo') ),
But doesn't works. The bordered TR fadeouts but not the DIV with the information.
I have some fields like this one:
array( 'id' => 'latitude', 'type' => 'text', 'required' => array('display_gmap', '=', '1'), 'title' => __('Latitude', 'ep-framework') ), And all works fine, except the info field.
Im using Chrome, Windows 7 and the latest redux core from github.
Yea, it's broken right now. This is a duplicate of #157, so I am closing the older. I'll look into this.
Just pushed a fix. Works now.
Just an FYI, this has been resolved. You can now have multiple required parents as well for each field. ;)