Skip to content

Commit

Permalink
Merge pull request thinkingreed-inc#1172 from Ryon1211/feature/1143_s…
Browse files Browse the repository at this point in the history
…croll-picklist-values

select2の実装変更によりバリデーションが効かない不具合の修正
  • Loading branch information
Ryon1211 authored Dec 18, 2024
2 parents 684f0bd + d50be0d commit 0d665c6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
9 changes: 6 additions & 3 deletions layouts/v7/lib/jquery/select2/select2.js
Original file line number Diff line number Diff line change
Expand Up @@ -871,7 +871,8 @@ the specific language governing permissions and limitations under the Apache Lic
select2.liveRegion.remove();
select2.dropdown.remove();
element
.show()
// .show()
.removeClass("select2-offscreen")
.removeData("select2")
.off(".select2")
.prop("autofocus", this.autofocus || false);
Expand Down Expand Up @@ -2273,7 +2274,8 @@ the specific language governing permissions and limitations under the Apache Lic
}));

this.initContainerWidth();
this.opts.element.hide();
// this.opts.element.hide();
this.opts.element.addClass("select2-offscreen");
this.setPlaceholder();

},
Expand Down Expand Up @@ -2856,7 +2858,8 @@ the specific language governing permissions and limitations under the Apache Lic
}));

this.initContainerWidth();
this.opts.element.hide();
// this.opts.element.hide();
this.opts.element.addClass("select2-offscreen");

// set the placeholder if necessary
this.clearSearch();
Expand Down
2 changes: 1 addition & 1 deletion layouts/v7/lib/jquery/select2/select2.min.js

Large diffs are not rendered by default.

0 comments on commit 0d665c6

Please sign in to comment.