ant-design / ant-design/pro-components
🐛[BUG] ProFormTimePicker 默认的variant 变成borderless了,应该是outlined才对
- Dominant language
- TypeScript
- Stars
- 4.8k
- Forks
- 1.4k
- Avg merge
- 10h 44m
- Merged PRs (30d)
- 3
Description
提问前先看看:
https://github.com/ryanhanwu/How-To-Ask-Questions-The-Smart-Way/blob/main/README-zh_CN.md
### 🐛 bug 描述
ProFormTimePicker组件的variant默认值变成了borderless,本应该是outlined
现在需要手动添加 fieldProps={{ variant: 'outlined' }} 才能解决
### 📷 复现步骤
### 🏞 期望结果
引入ProFormTimePicker,使用
期望是outlined的效果
### 💻 复现代码
` value?.format('HH:mm:ss')}
/>`
### © 版本信息
- ProComponents 版本: [e.g. 2.7.1]
- umi 版本 4.1.10
- 浏览器环境 124.0.6367.62(正式版本) (arm64)
- 开发环境 [e.g. mac OS] mac OS 14.4.1 (23E224)
### 🚑 其他信息

Contributor guide
Research direction
Start at the ProFormTimePicker component entry point and reproduce the reported example with umi 4.1.10 and the listed browser environment. Compare the default variant with fieldProps={{ variant: 'outlined' }}; done means the component uses outlined styling without that workaround and the behavior is covered by an appropriate test.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100