We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb09c7a commit 003353dCopy full SHA for 003353d
src/Autocomplete/doc/index.rst
@@ -351,8 +351,8 @@ events that the core Stimulus controller dispatches:
351
352
disconnect() {
353
// You should always remove listeners when the controller is disconnected to avoid side-effects
354
- this.element.removeEventListener('autocomplete:pre-connect', this._onConnect);
355
- this.element.removeEventListener('autocomplete:connect', this._onPreConnect);
+ this.element.removeEventListener('autocomplete:connect', this._onConnect);
+ this.element.removeEventListener('autocomplete:pre-connect', this._onPreConnect);
356
}
357
358
_onPreConnect(event) {
0 commit comments