File tree Expand file tree Collapse file tree
components/lib/radiobutton Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ export const RadioButton = React.memo(
2626 } ;
2727
2828 const onChange = ( event ) => {
29- if ( props . disabled || props . readonly ) {
29+ if ( props . disabled || props . readOnly ) {
3030 return ;
3131 }
3232
@@ -136,7 +136,7 @@ export const RadioButton = React.memo(
136136 onBlur : onBlur ,
137137 onChange : onChange ,
138138 disabled : props . disabled ,
139- readOnly : props . readonly ,
139+ readOnly : props . readOnly ,
140140 required : props . required ,
141141 tabIndex : props . tabIndex ,
142142 className : cx ( 'input' ) ,
Original file line number Diff line number Diff line change @@ -116,7 +116,7 @@ export interface RadioButtonProps extends Omit<React.DetailedHTMLProps<React.Inp
116116 * When present, it specifies that an input field is read-only.
117117 * @default false
118118 */
119- readonly ?: boolean | undefined ;
119+ readOnly ?: boolean | undefined ;
120120 /**
121121 * When present, it specifies that an input field must be filled out before submitting the form.
122122 * @defaultValue false
You can’t perform that action at this time.
0 commit comments