-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enable searchable attribute for subtype checklist and add prevent foc…
…us on the multiselect input
- Loading branch information
1 parent
1941cfe
commit 77d8e69
Showing
2 changed files
with
10 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
document.addEventListener('DOMContentLoaded', function() { | ||
const multiSelectInput = document.querySelector('.mantine-MultiSelect-input'); | ||
if (multiSelectInput) { | ||
multiSelectInput.addEventListener('focus', function(event) { | ||
event.preventDefault(); | ||
event.stopPropagation(); | ||
}); | ||
} | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters