Skip to content

Commit fb52012

Browse files
fix(Checkbox): resolve readOnly component accessibility issue (#7871)
1 parent 226bc93 commit fb52012

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

components/lib/checkbox/Checkbox.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ export const Checkbox = React.memo(
3434
};
3535

3636
const onChange = (event) => {
37-
if (props.disabled || props.readonly) {
37+
if (props.disabled || props.readOnly) {
3838
return;
3939
}
4040

0 commit comments

Comments
 (0)