diff --git a/ui/widgets/nuxeo-selectivity.js b/ui/widgets/nuxeo-selectivity.js index 2adb6ada5..03ad92cbd 100644 --- a/ui/widgets/nuxeo-selectivity.js +++ b/ui/widgets/nuxeo-selectivity.js @@ -7197,7 +7197,6 @@ typedArrayTags[weakMapTag] = false; } options.query = (query) => { - query.term= query.term.toLowerCase(); if (query.term.length < this.minChars) { query.error(this.i18n('selectivity.minChars', this.minChars)); return; diff --git a/ui/widgets/nuxeo-tag-suggestion.js b/ui/widgets/nuxeo-tag-suggestion.js index 63070d193..987d69dd7 100644 --- a/ui/widgets/nuxeo-tag-suggestion.js +++ b/ui/widgets/nuxeo-tag-suggestion.js @@ -237,7 +237,7 @@ import { escapeHTML } from './nuxeo-selectivity.js'; } _newEntryFormatter(term) { - return { id: term, displayLabel: term, newTag: true }; + return { id: term, displayLabel: term.toLowerCase(), newTag: true }; } _addedTagHandler(entry) {