hotwire_combobox 0.1.39 → 0.1.40
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/javascripts/hotwire_combobox.esm.js +2 -2
- data/app/assets/javascripts/hotwire_combobox.umd.js +2 -2
- data/app/assets/javascripts/hw_combobox/models/combobox/selection.js +2 -2
- data/app/presenters/hotwire_combobox/listbox/option.rb +1 -1
- data/lib/hotwire_combobox/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e3b6e7d5c71ba2836a388709890b4402ab2b3ff4ab194a2d1ce75928d96b3886
|
4
|
+
data.tar.gz: 78a2543c2354e7dccfe0477288144845b6d06a7611c01204612fd24b53cb6bc9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d1e72f48fb5b0387b454afe6cfa7484b0e5c84dfe18000d025005558fc2e29232047f5179e82dbc41b7b48147f3b76d66ae72ff2d0f8c777340a1ab06a3ab9d8
|
7
|
+
data.tar.gz: 840447f162fba6892a920e74ddde5b862bb9ac4deac7d56948e62998470d19e9747112a066dfbd45db476c628d1910442d33b7f28b2fed242bc1de698a4a8a12
|
@@ -704,9 +704,9 @@ Combobox.Options = Base => class extends Base {
|
|
704
704
|
};
|
705
705
|
|
706
706
|
Combobox.Selection = Base => class extends Base {
|
707
|
-
|
708
|
-
this._select(event.currentTarget);
|
707
|
+
selectOptionOnClick(event) {
|
709
708
|
this.filter(event);
|
709
|
+
this._select(event.currentTarget);
|
710
710
|
this.close();
|
711
711
|
}
|
712
712
|
|
@@ -708,9 +708,9 @@
|
|
708
708
|
};
|
709
709
|
|
710
710
|
Combobox.Selection = Base => class extends Base {
|
711
|
-
|
712
|
-
this._select(event.currentTarget);
|
711
|
+
selectOptionOnClick(event) {
|
713
712
|
this.filter(event);
|
713
|
+
this._select(event.currentTarget);
|
714
714
|
this.close();
|
715
715
|
}
|
716
716
|
|
@@ -2,9 +2,9 @@ import Combobox from "hw_combobox/models/combobox/base"
|
|
2
2
|
import { wrapAroundAccess } from "hw_combobox/helpers"
|
3
3
|
|
4
4
|
Combobox.Selection = Base => class extends Base {
|
5
|
-
|
6
|
-
this._select(event.currentTarget)
|
5
|
+
selectOptionOnClick(event) {
|
7
6
|
this.filter(event)
|
7
|
+
this._select(event.currentTarget)
|
8
8
|
this.close()
|
9
9
|
}
|
10
10
|
|