Skip to content

Commit 349b69b

Browse files
committed
revert readonly
1 parent 7650583 commit 349b69b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

packages/components/src/InputText/InputText.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ const Input = ({
1717
extraClasses = '',
1818
id = undefined,
1919
placeholder = '',
20-
readonly = false,
20+
readOnly = false,
2121
required = false,
2222
size = 'medium',
2323
title = '',
@@ -51,7 +51,7 @@ const Input = ({
5151
onFocus: componentOnFocus,
5252
onInput: componentOnInput,
5353
placeholder,
54-
readOnly: readonly,
54+
readOnly: readOnly,
5555
...extraAria,
5656
}}
5757
id={id}

packages/components/src/InputText/InputText.types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export interface InputTextProps extends BaseComponentAriaAttributes {
1717
error?: boolean;
1818
id?: string;
1919
placeholder?: string;
20-
readonly?: boolean;
20+
readOnly?: boolean;
2121
required?: boolean;
2222
size?: InputTextSizeType;
2323
type?: InputTextTypesType;

0 commit comments

Comments
 (0)