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 2e6c71d commit be6b59a
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 be6b59a

Please sign in to comment.