diff options
author | Daniel Kesselberg <mail@danielkesselberg.de> | 2022-09-15 11:56:03 +0200 |
---|---|---|
committer | Daniel Kesselberg <mail@danielkesselberg.de> | 2022-09-15 12:01:28 +0200 |
commit | e1d9b0bae20510526b0d00c2afe464945847face (patch) | |
tree | a6e7d917123cc5812fee4997a4eaec0e403442cb | |
parent | 4c1f06170e1f7256bdc0791c40359c5ab6ad5eda (diff) | |
download | nextcloud-server-e1d9b0bae20510526b0d00c2afe464945847face.tar.gz nextcloud-server-e1d9b0bae20510526b0d00c2afe464945847face.zip |
Add minimumInputLength for tags select
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
-rw-r--r-- | apps/systemtags/src/systemtagsfilelist.js | 1 | ||||
-rw-r--r-- | core/src/systemtags/systemtagsinputfield.js | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/apps/systemtags/src/systemtagsfilelist.js b/apps/systemtags/src/systemtagsfilelist.js index 69e63706264..274b8baa1c5 100644 --- a/apps/systemtags/src/systemtagsfilelist.js +++ b/apps/systemtags/src/systemtagsfilelist.js @@ -110,6 +110,7 @@ toggleSelect: true, separator: ',', query: _.bind(this._queryTagsAutocomplete, this), + minimumInputLength: 3, id(tag) { return tag.id diff --git a/core/src/systemtags/systemtagsinputfield.js b/core/src/systemtags/systemtagsinputfield.js index e1bbf5a34c6..7c68a4b09ad 100644 --- a/core/src/systemtags/systemtagsinputfield.js +++ b/core/src/systemtags/systemtagsinputfield.js @@ -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 }, |