ant-design / pro-components

🏆 Use Ant Design like a Pro!
https://pro-components.antdigital.dev
MIT License
4.04k stars 1.29k forks source link

🐛[BUG] ProFormTimePicker 默认的variant 变成borderless了,应该是outlined才对 #8369

Open zcSkr opened 2 weeks ago

zcSkr commented 2 weeks ago

提问前先看看:

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的效果

💻 复现代码

<ProFormTimePicker name="cutOff" label={intl.formatMessage({ id: 'columns.cutOff', defaultMessage: 'Cut off' })} rules={[{ required: true }]} width='100%' format="HH:mm:ss" normalize={value => value?.format('HH:mm:ss')} />

© 版本信息

🚑 其他信息

image