fix: TimePicker input should be readonly like DatePicker. fix #4084 (#4085)

pull/4179/head
Ken 2021-05-23 20:17:24 +08:00 committed by GitHub
parent 9bb90e78d1
commit 2f1eb4bbb7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -375,7 +375,7 @@ export default {
onFocus={onFocus}
onBlur={onBlur}
autoFocus={autoFocus}
readOnly={!!inputReadOnly}
readOnly
id={id}
/>
{inputIcon || <span class={`${prefixCls}-icon`} />}