File tree Expand file tree Collapse file tree 4 files changed +14
-10
lines changed
Expand file tree Collapse file tree 4 files changed +14
-10
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,9 @@ export class Checkbox extends LitElement {
2727 }
2828
2929 /** @nocollapse */
30- static formAssociated = true ;
30+ static get formAssociated ( ) {
31+ return true ;
32+ }
3133
3234 /**
3335 * Whether or not the checkbox is selected.
Original file line number Diff line number Diff line change @@ -33,7 +33,9 @@ export class Radio extends LitElement {
3333 ShadowRootInit = { ...LitElement . shadowRootOptions , delegatesFocus : true } ;
3434
3535 /** @nocollapse */
36- static formAssociated = true ;
36+ static get formAssociated ( ) {
37+ return true ;
38+ }
3739
3840 /**
3941 * Whether or not the radio is selected.
Original file line number Diff line number Diff line change @@ -61,10 +61,10 @@ export class Slider extends LitElement {
6161 static override shadowRootOptions :
6262 ShadowRootInit = { ...LitElement . shadowRootOptions , delegatesFocus : true } ;
6363
64- /**
65- * @nocollapse
66- */
67- static formAssociated = true ;
64+ /** @nocollapse */
65+ static get formAssociated ( ) {
66+ return true ;
67+ }
6868
6969 /**
7070 * Whether or not the slider is disabled.
Original file line number Diff line number Diff line change @@ -31,10 +31,10 @@ export class Switch extends LitElement {
3131 static override shadowRootOptions :
3232 ShadowRootInit = { mode : 'open' , delegatesFocus : true } ;
3333
34- /**
35- * @nocollapse
36- */
37- static formAssociated = true ;
34+ /** @nocollapse */
35+ static get formAssociated ( ) {
36+ return true ;
37+ }
3838
3939 /**
4040 * Disables the switch and makes it non-interactive.
You can’t perform that action at this time.
0 commit comments