Skip to content

Commit

Permalink
Fixes #38209 - vmware Create controller select freezes the page
Browse files Browse the repository at this point in the history
  • Loading branch information
MariaAga authored and ofedoren committed Feb 14, 2025
1 parent d3547fe commit 0fbdc0f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,7 @@
"unordered",
"unprocessable",
"unselect",
"unselecting",
"unstyled",
"virtualization",
"vms",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ class Select extends React.Component {
attachEvent() {
const { onChange } = this.props;
$(this.select)
.off('change', onChange)
.on('change', onChange);
.off('select2:select select2:unselecting', onChange)
.on('select2:select select2:unselecting', onChange);
}

componentDidMount() {
Expand Down

0 comments on commit 0fbdc0f

Please sign in to comment.