File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
core/src/components/checkbox Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -189,7 +189,7 @@ export class Checkbox implements ComponentInterface {
189189 name,
190190 value,
191191 alignment,
192- required
192+ required,
193193 } = this ;
194194 const mode = getIonMode ( this ) ;
195195 const path = getSVGPath ( mode , indeterminate ) ;
Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ describe('ion-checkbox: required', () => {
6565 } ) ;
6666
6767 const checkbox = page . body . querySelector ( 'ion-checkbox' ) ! ;
68- const nativeInput = checkbox . shadowRoot ?. querySelector ( " input[type=checkbox]" ) ! ;
68+ const nativeInput = checkbox . shadowRoot ?. querySelector ( ' input[type=checkbox]' ) ! ;
6969
7070 expect ( nativeInput . hasAttribute ( 'required' ) ) . toBeTruthy ( ) ;
7171 } ) ;
@@ -79,7 +79,7 @@ describe('ion-checkbox: required', () => {
7979 } ) ;
8080
8181 const checkbox = page . body . querySelector ( 'ion-checkbox' ) ! ;
82- const nativeInput = checkbox . shadowRoot ?. querySelector ( " input[type=checkbox]" ) ! ;
82+ const nativeInput = checkbox . shadowRoot ?. querySelector ( ' input[type=checkbox]' ) ! ;
8383
8484 expect ( nativeInput . hasAttribute ( 'required' ) ) . toBeFalsy ( ) ;
8585 } ) ;
You can’t perform that action at this time.
0 commit comments