mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2024-12-21 04:50:14 +08:00
fix(date-picker): input theme is not set in date
& datetime
type
This commit is contained in:
parent
7fcea8111d
commit
f171cefd3c
@ -5,6 +5,7 @@
|
||||
### Fixes
|
||||
|
||||
- Fix `n-dropdown` default placement is not `bottom`.
|
||||
- Fix `n-date-picker`'s input theme is not set in `date` & `datetime` type.
|
||||
|
||||
## 2.11.1
|
||||
|
||||
|
@ -5,6 +5,7 @@
|
||||
### Fixes
|
||||
|
||||
- 修复 `n-dropdown` 默认位置不是 `bottom`
|
||||
- 修复 `n-date-picker` 输入组件在 `date` & `datetime` 类型下未设定主题
|
||||
|
||||
## 2.11.1
|
||||
|
||||
|
@ -711,6 +711,8 @@ export default defineComponent({
|
||||
: ''
|
||||
}
|
||||
onUpdateValue={this.handleSingleUpdateValue}
|
||||
theme={this.mergedTheme.peers.Input}
|
||||
themeOverrides={this.mergedTheme.peerOverrides.Input}
|
||||
internalForceFocus={this.mergedShow}
|
||||
internalDeactivateOnEnter
|
||||
{...commonInputProps}
|
||||
|
Loading…
Reference in New Issue
Block a user