diff --git a/components/vc-time-picker/TimePicker.jsx b/components/vc-time-picker/TimePicker.jsx index 4a757ccfc..a57d8ec59 100644 --- a/components/vc-time-picker/TimePicker.jsx +++ b/components/vc-time-picker/TimePicker.jsx @@ -375,7 +375,7 @@ export default { onFocus={onFocus} onBlur={onBlur} autoFocus={autoFocus} - readOnly={!!inputReadOnly} + readOnly id={id} /> {inputIcon || }