Skip to content

Commit

Permalink
TimeSelect: fix fieldReset when initialValue is empty string (#12010)
Browse files Browse the repository at this point in the history
  • Loading branch information
jikkai authored Jul 16, 2018
1 parent ef4caa9 commit e4de2b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/date-picker/src/picker.vue
Original file line number Diff line number Diff line change
Expand Up @@ -713,7 +713,7 @@ export default {
},
handleFieldReset(initialValue) {
this.userInput = initialValue;
this.userInput = initialValue === '' ? null : initialValue;
},
handleFocus() {
Expand Down

0 comments on commit e4de2b4

Please sign in to comment.