Commit e4de2b46 authored by Jikkai Xiao's avatar Jikkai Xiao Committed by GitHub

TimeSelect: fix fieldReset when initialValue is empty string (#12010)

parent ef4caa96
......@@ -713,7 +713,7 @@ export default {
},
handleFieldReset(initialValue) {
this.userInput = initialValue;
this.userInput = initialValue === '' ? null : initialValue;
},
handleFocus() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment