Hi, how do i add this option into metabox Select2 select_advanced & taxonomy ?
i tried to add in code php but no luck :
'required' => true,
'columns' => 4,
'ajax' => true,
'ajax.delay' => 5000,
'query_args' => [
'number' => 80, // 1 per page
],
'js_options' => [
'minimumInputLength' => 2,
],
$('#mySelect2').select2({
ajax: {
delay: 250 // wait 250 milliseconds before triggering the request
}
});