Skip to content

Commit 1ae23f2

Browse files
committed
Add dependencies for Select2 CSS and JS files
Without Select2's files it won't initialize properly.
1 parent 9472db4 commit 1ae23f2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,9 @@ To your `bower.json` file. Then run
3939

4040
This will copy the ui-select2 files into your `components` folder, along with its dependencies. Load the script files in your application:
4141
```html
42+
<link rel="stylesheet" href="components/select2/select2.css">
4243
<script type="text/javascript" src="components/jquery/jquery.js"></script>
44+
<script type="text/javascript" src="components/select2/select2.js"></script>
4345
<script type="text/javascript" src="components/angular/angular.js"></script>
4446
<script type="text/javascript" src="components/angular-ui-select2/src/select2.js"></script>
4547
```

0 commit comments

Comments
 (0)