Skip to content

Commit e7a4b1f

Browse files
committed
fix(input): taro 下只读可以点击
1 parent e47d0d4 commit e7a4b1f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/packages/input/input.taro.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ export const Input = forwardRef((props: Partial<TaroInputProps>, ref) => {
195195
placeholder === undefined ? locale.placeholder : placeholder
196196
}
197197
placeholderClass={`${classPrefix}-placeholder`}
198-
disabled={disabled || readOnly}
198+
disabled={disabled}
199199
value={value}
200200
focus={autoFocus || focus}
201201
confirmType={confirmType}

0 commit comments

Comments
 (0)