From 2fc01c0a2598fa9a84df8a0f17fb31ea7a3c478e Mon Sep 17 00:00:00 2001 From: Pavak Paul Date: Tue, 25 Jul 2023 18:52:01 +0530 Subject: [PATCH] added heading --- hide-disabled-filter-options-for-select2/README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hide-disabled-filter-options-for-select2/README.md b/hide-disabled-filter-options-for-select2/README.md index b456a18..fbf5474 100644 --- a/hide-disabled-filter-options-for-select2/README.md +++ b/hide-disabled-filter-options-for-select2/README.md @@ -1,3 +1,5 @@ +# Hide empty/disabled select2 filters options + By default, Select2 doesn't hide any empty filter options. Instead, it makes them disabled which prevents clicking them. This works well when you only have a few filter options but for large filter options, it might be better to hide them instead. ### If you want to hide the disabled filter options globally, use [this CSS](hide-globally-style.css):