Skip to content

Commit

Permalink
prepare release + docs
Browse files Browse the repository at this point in the history
  • Loading branch information
lekoala committed Aug 19, 2021
1 parent 3c18ad3 commit 6698a72
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bootstrap5-tags",
"version": "1.1.2",
"version": "1.1.3",
"description": "Replace select[multiple] with nices badges",
"main": "bootstrap5-tags",
"scripts": {
Expand Down
6 changes: 6 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,12 @@ Use attribute `data-allow-clear` in order to add a cross to remove items.
<select class="form-select" id="validationTags" name="tags[]" multiple data-allow-clear="true">
```

Use attribute `data-suggestions-threshold` to determine how many characters need to be typed to show the dropdown (defaults to 1).

```html
<select class="form-select" id="validationTags" name="tags[]" multiple data-suggestions-threshold="0">
```

*NOTE: don't forget the [] if you need multiple values!*

## Tips
Expand Down
2 changes: 1 addition & 1 deletion tags.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 6698a72

Please sign in to comment.