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

select2-bootstrap-5-theme with ajax lost the style #80

Open
wings77 opened this issue May 3, 2023 · 1 comment
Open

select2-bootstrap-5-theme with ajax lost the style #80

wings77 opened this issue May 3, 2023 · 1 comment

Comments

@wings77
Copy link

wings77 commented May 3, 2023

with ajax lost the style...

image

image

$("#element").select2({
      placeholder: 'Seleccione',
      allowClear: true,
      minimumInputLength: 1,
      ajax: {
          url: 'SearchCustomer.php',
          dataType: 'json',
          delay: 10,
          processResults: function(dataMaster) {
              return {
                  results: dataMaster
              };
          },
          cache: true
      }
 });

@omerosmanoglu
Copy link

change jquery version

<script src="https://code.jquery.com/jquery-3.6.4.min.js"></script>

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

No branches or pull requests

2 participants