Commit 8801766 1 parent 77ffba7 commit 8801766 Copy full SHA for 8801766
File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -98,6 +98,7 @@ export class RbCheckbox extends FormControl(RbBase()) {
98
98
async _onclick ( value , evt ) { // :void
99
99
this . setValue ( value ) ;
100
100
await this . validate ( ) ;
101
+ this . _onchange ( evt ) ;
101
102
}
102
103
async _onkeypress ( value , evt ) { // :void
103
104
const keys = [ 'enter' , 'space' ] ;
Original file line number Diff line number Diff line change 12
12
? html`< label class ="label "> ${props.label}</ label > `
13
13
: null
14
14
}
15
-
15
+
16
16
< label
17
17
tabindex ="${props.disabled ? -1 : 0} "
18
18
class ="sublabel ${!!props.value ? 'active' : ''} "
26
26
name ="${props.name} "
27
27
.value ="${props.value} "
28
28
?checked ="${!!props.value} "
29
- @change ="${this._onchange.bind(this)} "
30
29
@click ="${this._onclick.bind(this, props.value)} ">
31
30
</ label >
32
31
You can’t perform that action at this time.
0 commit comments