Skip to content

Commit 2e28848

Browse files
committed
fix: remove form-item default readOnly
1 parent d4480de commit 2e28848

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/components/src/input/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export const BaseInput = observer(
3030
)
3131

3232
export const inputValidate = mapProps<any>(
33-
{ validateStatus: true, required: true, readOnly: 'readonly' },
33+
{ validateStatus: true, required: true },
3434
(props, field) => {
3535
if (isVoidField(field)) return props
3636
if (!field) return props

0 commit comments

Comments
 (0)