Disable remove on Back Space Multi-Select Filament
I have Multi Select with a searchable option and I want to disable remove an option when the user hit the back space key word
@sayed_laravel you can use JS to achieve this, like so:
const multiSelect = document.querySelector('.your-multi-select-class');
multiSelect.addEventListener('keydown', function(event) {
if (event.keyCode === 8) {
event.preventDefault();
}
});
@enoch91 is there any way to disable it in the Multi-Select Filament component?
thanks
Please or to participate in this conversation.