Dropdown with a create new button

image

new project button gives a popup form with fields to create projects

so? just make one

try kartiks navx extension: https://demos.krajee.com/nav-x

at

Hey bro just help out if you have an idea how to go about this. Been stuck for nearly a week

Kindest regards

You can do it like

$options = array('key'=>'label');
// now you need to add one more option like
$options['somekey']='label';

// after that there is JS trick
$(’#select_id’).on(‘change’,function(){
var v = $(this).val();
if(v==‘somekey’){
$(’#newformdiv’).show();
}
})

This is just like that…

hope you get it now