Skip to content Skip to sidebar Skip to footer

Select2 Doesn't Render Properly

I am attemping to add Select2 library to my project, but I am failing miserably: My code looks like this:

<link ref="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.3/css/select2.min.css"> <link ref="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/select2-bootstrap-css/1.4.6/select2-bootstrap.css">

Change ref to rel that's the solution.

<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.3/css/select2.min.css"> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/select2-bootstrap-css/1.4.6/select2-bootstrap.css">

Hopefully, you got the silly error.

Post a Comment for "Select2 Doesn't Render Properly"