mirror of
https://github.com/Choices-js/Choices.git
synced 2026-03-14 22:55:46 +01:00
Update CHANGELOG.md
This commit is contained in:
parent
438b16b22f
commit
bef1adfa91
2 changed files with 15 additions and 0 deletions
|
|
@ -8,6 +8,7 @@
|
|||
### Bug Fixes (from 11.0.0)
|
||||
* Fix choice disable state wasn't considered when showing the "no choices to choose from" notice
|
||||
* Fix regression "no choices to choose from" notice not triggering when no selectable choices exist for select-one. [#1185](https://github.com/Choices-js/Choices/issues/1185)
|
||||
* Fix regression where webpack doesn't permit importing scss/css @tagliala (#1193)
|
||||
|
||||
### Chore
|
||||
* Add e2e tests for "no choices" behavior to match v10
|
||||
|
|
|
|||
14
README.md
14
README.md
|
|
@ -106,6 +106,20 @@ Or include Choices directly:
|
|||
<script src="/public/assets/scripts/choices.min.js"></script>
|
||||
```
|
||||
|
||||
### CSS/SCSS
|
||||
|
||||
The use of `import` of css/scss is supported from webpack.
|
||||
|
||||
In .scss:
|
||||
```scss
|
||||
@import "choices.js/src/styles/choices";
|
||||
```
|
||||
|
||||
In .js/.ts:
|
||||
```javascript
|
||||
import "choices.js/public/assets/styles/choices.css";
|
||||
```
|
||||
|
||||
## Setup
|
||||
|
||||
**Note:** If you pass a selector which targets multiple elements, the first matching element will be used. Versions prior to 8.x.x would return multiple Choices instances.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue