Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix snippet for select2 ajax #6183

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

patrick-mota
Copy link

@patrick-mota patrick-mota commented Aug 24, 2022

Modify snippet to have the same class as the one declared.

This pull request includes a

  • Bug fix
  • New feature
  • Translation
  • Doc fix

The following changes were made

  • Modified the class in two first snippets

Why the changes were made

  • If you use the first snippet to declare your select and use the last one which is the full working example, it will not work since the class aren't the same so I fixed the two first snippets to use the same class as the one declared.

I hope it's the right place to do my pull request (since it's the first one in this repo) because if I follow the CONTRIBUTING.md (https://github.com/select2/select2/blob/develop/.github/CONTRIBUTING.md) I should had contribute to select2/docs but when I go to this repo. seems to be archived with the note "DEPRECATED - Now located in docs directory of main repository".

Modify snippet to have the same class as the one declared.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant