Skip to content

Commit

Permalink
Add minimumInputLength for tags select
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
  • Loading branch information
kesselb committed Sep 15, 2022
1 parent 4c1f061 commit e1d9b0b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions apps/systemtags/src/systemtagsfilelist.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@
toggleSelect: true,
separator: ',',
query: _.bind(this._queryTagsAutocomplete, this),
minimumInputLength: 3,

id(tag) {
return tag.id
Expand Down
1 change: 1 addition & 0 deletions core/src/systemtags/systemtagsinputfield.js
Original file line number Diff line number Diff line change
Expand Up @@ -385,6 +385,7 @@ import templateSelection from './templates/selection.handlebars'
multiple: this._multiple,
toggleSelect: this._multiple,
query: _.bind(this._queryTagsAutocomplete, this),
minimumInputLength: 3,
id: function(tag) {
return tag.id
},
Expand Down

0 comments on commit e1d9b0b

Please sign in to comment.