i work on bootstrap version of metronic , with laravel
when i use select2 in modal body like 'create-project' it not working, filtration not working and i cant write in text box to use filter
i tried it in another places , works fine but not modals ?
Attach the dropdown to the modal:
Use the dropdownParent option to attach the Select2 dropdown to the modal itself. This ensures the dropdown appears correctly within the modal.
$('#yourSelectElement').select2({dropdownParent: $('#yourModal')});papa's games
Hi,
Can you please refer to Select2 inside modal guide ?
You will need to pass data-dropdown-parent="#kt_modal_1"
modal ID to Select in order to use Select2 properly within Modal.
Regards,
Sean