Hi, is there any way or hint, example code
So that i can filter select advanced base on another select advanced field?? I read select2 document but still have no idea how to install to metabox, im newbie
Example: field select advanced: City A
When i select City A
The 2nd select advanced field District will show only all district of City A
js_options' => array (
'ajax' => array(
'url' => admin_url('/admin-ajax.php?action=get_events_list'),
'dataType' => 'json',
'type' => 'get',
'delay' => '250',
),
'minimumInputLength' => 3,
'allowClear' => true,
'placeholder' => 'Choose event...'
),