Skip to content

Commit

Permalink
FilterInput: Override methods isReadOnly() and `isTermDirectionVert…
Browse files Browse the repository at this point in the history
…ical()`
  • Loading branch information
sukhwinder33445 committed Aug 29, 2022
1 parent 0f3d98e commit bf17031
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions asset/js/widget/FilterInput.js
Original file line number Diff line number Diff line change
Expand Up @@ -337,6 +337,14 @@ define(["../notjQuery", "BaseInput"], function ($, BaseInput) {
this.identifyLastRenderedTerm();
}

isReadOnlyMode() {
return false;
}

isTermDirectionVertical() {
return false;
}

identifyLastRenderedTerm() {
let lastTerm = Array.from(this.termContainer.querySelectorAll('[data-index]')).pop();
if (! lastTerm) {
Expand Down

0 comments on commit bf17031

Please sign in to comment.