We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9be9965 commit 3eae4a1Copy full SHA for 3eae4a1
lib/ruby_ui/combobox/combobox_controller.js
@@ -35,8 +35,9 @@ export default class extends Controller {
35
this.closePopover()
36
}
37
38
- const isToggleAllUnchecked = this.hasToggleAllTarget && !e.target.checked
39
- if (isToggleAllUnchecked) this.toggleAllTarget.checked = false
+ if (this.hasToggleAllTarget && !e.target.checked) {
+ this.toggleAllTarget.checked = false
40
+ }
41
42
43
inputContent(input) {
0 commit comments