Skip to content

Commit 0529c1e

Browse files
committed
Add 'readonly' alias for 'readOnly'
1 parent 9e4dfad commit 0529c1e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ui.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ function FormField(props) {
3535
let inputProps = {
3636
name: props.name,
3737
value: props.data,
38-
readOnly: props.schema.readOnly,
38+
readOnly: props.schema.readOnly || props.schema.readonly,
3939
};
4040

4141
let type = props.schema.type;

0 commit comments

Comments
 (0)