element-plus/packages/date-picker
Herrington Darkholme 8f519cfbef
fix: respect format props and default value (#2034)
* fix: respect format props and default value

Vue 3 props will always have all keys defined, regardless if users pass props when using the component.
So {format, ...props} will always overwrite the default format because props has format defined on it.
When users do not pass format, the code breaks.

* fix: null-coalescing operator(??) requires parens

* fix: capture reactivity
2021-05-20 16:15:40 +08:00
..
__tests__ fix(date-picker): fix/date-picker-popper-options-expose (#1982) 2021-05-11 10:57:15 +08:00
src fix: respect format props and default value (#2034) 2021-05-20 16:15:40 +08:00
index.ts fix: some components miss install type (#1547) 2021-03-09 21:24:22 +08:00
package.json build(project): project/bumping-vue-version (#1702) 2021-03-28 12:46:58 +08:00