diff --git a/asset/js/widget/BaseInput.js b/asset/js/widget/BaseInput.js index 5bad5ab2..eca7371f 100644 --- a/asset/js/widget/BaseInput.js +++ b/asset/js/widget/BaseInput.js @@ -465,10 +465,10 @@ define(["../notjQuery", "Completer"], function ($, Completer) { // Cut the term's data let [termData] = this.usedTerms.splice(termIndex, 1); - // Avoid saving the term, it's removed after all - label.firstChild.skipSaveOnBlur = true; - if (updateDOM) { + // Avoid saving the term, it's removed after all + label.firstChild.skipSaveOnBlur = true; + // Remove it from the DOM this.removeRenderedTerm(label); }