Skip to content Navigation Menu Toggle navigation Sign in Appearance settings PlatformAI CODE CREATIONGitHub CopilotWrite better code with AIGitHub Copilot appDirect agents from issue to mergeMCP RegistryNewIntegrate external toolsDEVELOPER WORKFLOWSActionsAutomate any workflowCodespacesInstant dev environmentsIssuesPlan and track workCode ReviewManage code changesAPPLICATION SECURITYGitHub Advanced SecurityFind and fix vulnerabilitiesCode securitySecure your code as you buildSecret protectionStop leaks before they startEXPLOREWhy GitHubDocumentationBlogChangelogMarketplaceView all featuresSolutionsBY COMPANY SIZEEnterprisesSmall and medium teamsStartupsNonprofitsBY USE CASEApp ModernizationDevSecOpsDevOpsCI/CDView all use casesBY INDUSTRYHealthcareFinancial servicesManufacturingGovernmentView all industriesView all solutionsResourcesEXPLORE BY TOPICAISoftware DevelopmentDevOpsSecurityView all topicsEXPLORE BY TYPECustomer storiesEvents & webinarsEbooks & reportsBusiness insightsGitHub SkillsSUPPORT & SERVICESDocumentationCustomer supportCommunity forumTrust centerPartnersView all resourcesOpen SourceCOMMUNITYGitHub SponsorsFund open source developersPROGRAMSSecurity LabMaintainer CommunityAcceleratorGitHub StarsArchive ProgramREPOSITORIESTopicsTrendingCollectionsEnterpriseENTERPRISE SOLUTIONSEnterprise platformAI-powered developer platformAVAILABLE ADD-ONSGitHub Advanced SecurityEnterprise-grade security featuresCopilot for BusinessEnterprise-grade AI featuresPremium SupportEnterprise-grade 24/7 supportPricing Search or jump to... Search code, repositories, users, issues, pull requests... Search Clear Search syntax tips Provide feedback We read every piece of feedback, and take your input very seriously. Include my email address so I can be contacted Saved searches Use saved searches to filter your results more quickly Name Query To see all available qualifiers, see our documentation. Sign in Sign up Appearance settings Resetting focus You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert {{ message }} select2 / select2 Public Uh oh! There was an error while loading. Please reload this page. Notifications You must be signed in to change notification settings Fork 6.2k Star 25.9k Code Issues 122 Pull requests 11 Actions Security and quality 0 Insights Additional navigation options Code Issues Pull requests Actions Security and quality Insights Pull requests: select2/select2 Labels 44 Milestones 2 Labels 44 Milestones 2 New pull request New 11 Open 1,540 Closed 11 Open 1,540 Closed Author Filter by author Loading Uh oh! There was an error while loading. Please reload this page. author: Filter by this user Label Filter by label Loading Uh oh! There was an error while loading. Please reload this page. Projects Filter by project Loading Uh oh! There was an error while loading. Please reload this page. Milestones Filter by milestone Loading Uh oh! There was an error while loading. Please reload this page. Reviews Filter by reviews No reviews Review required Approved review Changes requested Assignee Filter by who’s assigned Assigned to nobody Loading Uh oh! There was an error while loading. Please reload this page. assignee: Filter by this user Sort Sort by Newest Oldest Most commented Least commented Recently updated Least recently updated Best match Most reactions 👍 👎 😄 🎉 😕 ❤️ 🚀 👀 Pull requests list [pre-commit.ci] pre-commit autoupdate #6427 opened Jun 15, 2026 by pre-commit-ci Bot Loading… Fix disabled state for data optgroup children #6422 opened Jun 4, 2026 by puneetdixit200 Loading… 1 of 3 tasks 1 Improving label announcement for screen readers. #6388 opened Nov 17, 2025 by jose-oliveira Loading… Fix: Trim input value in handleSearch to prevent duplicate tags with trailing spaces #6386 opened Nov 4, 2025 by pskliarenko Loading… 1 of 3 tasks Resolved problem when opening Select2 adding scroll prevention #6370 opened Apr 15, 2025 by pratik916 Loading… 1 of 3 tasks 1 Allow html content in selection template #6311 opened May 9, 2024 by 5andr0 Loading… 2 of 3 tasks Resolve bug with Korean input handling #6295 opened Jan 15, 2024 by kjp0602 Loading… 1 of 3 tasks Prevent returnning previous results when ajax is running #4854 #6256 opened May 27, 2023 by BoPeng Loading… 1 of 3 tasks Force dropdown position #6139 opened Jan 18, 2022 by nzkozar Loading… 1 of 3 tasks 14 Update docs.md #6086 opened Sep 3, 2021 by JoanneFsadni1998 Loading… 1 task done 5 Voiceover accessibility improvement accessibility #6020 opened Apr 13, 2021 by k00ka Loading… 2 tasks 1 ProTip! Add no:assignee to see everything that’s not assigned. You can’t perform that action at this time.