Skip to content

Commit 228163e

Browse files
committed
fix(ion-radio): continue to render radio value prop in html by enabling reflection
1 parent 4ca2cb7 commit 228163e

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

core/api.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1421,7 +1421,7 @@ ion-radio,prop,justify,"end" | "space-between" | "start" | undefined,undefined,f
14211421
ion-radio,prop,labelPlacement,"end" | "fixed" | "stacked" | "start",'start',false,false
14221422
ion-radio,prop,mode,"ios" | "md",undefined,false,false
14231423
ion-radio,prop,name,string,this.inputId,false,false
1424-
ion-radio,prop,value,any,undefined,false,false
1424+
ion-radio,prop,value,any,undefined,false,true
14251425
ion-radio,event,ionBlur,void,true
14261426
ion-radio,event,ionFocus,void,true
14271427
ion-radio,css-prop,--border-radius,ios

core/src/components/radio/radio.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ export class Radio implements ComponentInterface {
6161
/**
6262
* the value of the radio.
6363
*/
64-
@Prop() value?: any | null;
64+
@Prop({ reflect: true }) value?: any | null;
6565

6666
@Watch('value')
6767
valueChanged() {

0 commit comments

Comments
 (0)