added heading

This commit is contained in:
Pavak Paul 2023-07-25 18:52:01 +05:30
parent 2953301b08
commit 2fc01c0a25

View File

@ -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. 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): ### If you want to hide the disabled filter options globally, use [this CSS](hide-globally-style.css):