diff --git a/package.json b/package.json index 05b30b0c8..2357d8ec7 100644 --- a/package.json +++ b/package.json @@ -46,7 +46,7 @@ "chai": "^4.2.0", "check-engine": "^1.10.0", "coveralls": "^3.0.2", - "eslint": "^5.15.1", + "eslint": "^9.12.0", "eslint-plugin-html": "^5.0.3", "husky": "^4.2.3", "istanbul-instrumenter-loader": "^3.0.1", diff --git a/ui/widgets/nuxeo-tag-suggestion.js b/ui/widgets/nuxeo-tag-suggestion.js index 63070d193..5b1294fbb 100644 --- a/ui/widgets/nuxeo-tag-suggestion.js +++ b/ui/widgets/nuxeo-tag-suggestion.js @@ -237,6 +237,7 @@ import { escapeHTML } from './nuxeo-selectivity.js'; } _newEntryFormatter(term) { + term = term?.toLowerCase(); return { id: term, displayLabel: term, newTag: true }; }