-
-
Notifications
You must be signed in to change notification settings - Fork 317
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor: New Picker interactive #691
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CodeQL found more than 10 potential problems in the proposed changes. Check the Files changed tab for more details.
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## master #691 +/- ##
==========================================
- Coverage 98.94% 98.60% -0.34%
==========================================
Files 56 63 +7
Lines 2458 2364 -94
Branches 747 609 -138
==========================================
- Hits 2432 2331 -101
- Misses 24 30 +6
- Partials 2 3 +1 ☔ View full report in Codecov by Sentry. |
README 中没有 components |
|
新交互 (New Design)
功能检查 (Functional Check)
RangePicker
pickerValue
逻辑问题pickerValue
RangerPicker provides parameters for switching the calendar panel ant-design/ant-design#26853defaultPickerValue
在未填充时,会根据前一个 field 值自动填充 RangePicker 设置了 defaultPickerValue,选择更早的日期时面板不应该跳转 ant-design/ant-design#43411pickerValue
支持与onPickerValueChange
合作受控进行。pickerValue
始终有最高优先级,需要文档说明 [DatePicker] value should has higher priority than defaultPickerValue ant-design/ant-design#34404defaultPickerValue
或者受控pickerValue
解决 日期组件时间范围动态跟随(can rangepicker component provied prop to achieve paneltime dynamically followed pre chosen time) ant-design/ant-design#40680startDate
希望endDate
能跟随startDate
pickerValue
控制跳转逻辑pickerValue
showTime.defaultValue
可以聚合至pickerValue
[TimePicker.RangePicker] Default behaviour has been changed and there is no prop to configure it ant-design/ant-design#44724showTime.defaultValue
时间控件DatePicker设置allowClear点击清除已选时间后再次选择不会更新到当前的时分秒 ant-design/ant-design#25081preserveInvalidOnBlur=false
保留无效值 Provide option to not clear an invalid date in DatePicker ant-design/ant-design#32475format
支持align
做格式匹配required
Date Picker and Time Picker required attribute ant-design/ant-design#27616ids
Feature: Id props for RangePicker start and end date inputs ant-design/ant-design#39629onFocus
&onBlur
支持info.range
RangePicker怎么获取当前面板展开的是开始时间还是结束时间,面板未选择时间展开时就需要做判断 ant-design/ant-design#34261focus
event 总是会触发 DatePicker.RangePicker 组件在弹层受控时 blur 方法无效 ant-design/ant-design#45647showTime
支持changeOnScroll
,文档需要添加一个居中滚动的例子mode
受控问题 RangePicker恢复初始面板 ant-design/ant-design#19835needConfirm
允许更新需要、不需要确认onChange
事件 有关RangePicker时间选择的触发逻辑 ant-design/ant-design#38293open
总是能正确触发onChange
事件startDate
和endDate
不再禁用面板点击millisec
defaultValue
ofshowTime
doesn't work forSSS
ant-design/ant-design#28591onCalendarChange
在值变化时总是触发onCalendarChange
在关闭重置时也需要正确触发 RangePicker Unexpected onCalendarChange ant-design/ant-design#22351onSelect
合并至onCalendarChange
(antd 英文文档需要更新) DatePicker and RangePicker onSelect or showTime.onSelect props do not behave properly ant-design/ant-design#33972disabledDate
提供info.from
告知是选择时间components.input
支持自定义组件components.button
panelRender
替换完整内容 4.0 DatePicker disabledDate design improve ant-design/ant-design#21635renderExtraFooter
不关闭面板allowEmpty
和placeholder
显示至今(更新 Demo) 日期选择扩展 至今 功能 ,时间范围可控制高亮面板 ant-design/ant-design#42338components.time
自定义面板 Render Header or Title to Timepicker component ant-design/ant-design#29501changeOnScroll
支持 TimPicker希望选择的item可以居中显示而不是置顶显示 ant-design/ant-design#29508title
现在支持locale.fieldXXXFormat
Date picker custom date format is not applied to tooltip that appears on hovering on a date ant-design/ant-design#31339locale.xxxCellFormat
disabledDate
问题 使用ant-design的RangePicker组件时,已经设置了禁止选择今天的日期,结果直接选择时分秒时还是会默认选到今天的日期 ant-design/ant-design#29023disabledTime
问题 Disabled time can selected and onChange is triggered for that same. ant-design/ant-design#20280showTime
本身就支持 functiondisabledTime
RangePicker中使用了showTime和disabledRangeTime属性的情况下,直接选择不符合disabledRangeTime规则的起始时间被错误的设置成功 ant-design/ant-design#29179presets
禁用时点击不再允许触发onChange
RangePicker中禁用的日期可以被预设时间范围快捷选择 ant-design/ant-design#18765showTime.defaultValue
可以设置禁用的disabledTime
但是不允许提交 RangePicker: using disabledDate breaks showTime.defaultValue ant-design/ant-design#13721showNow
也会经过提交拦截 DatePicker disabled today’s range, but it can be selected through Now ant-design/ant-design#30568showTime.disabledTime
时间 即使0分0秒已被禁用,选中小时仍会默认选中0分0秒 ant-design/ant-design#25143onChange
Timepicker validations are not working properly ant-design/ant-design#45489OK
按钮 Date in TimePicker is set to today when using keyobard ant-design/ant-design#45564info.type
信息,告知当前面板是何面板 pickrange disabledDate时间范围为年时,会重复执行上万次,导致很卡 ant-design/ant-design#39991minDate
&maxDate
支持,切换标签会阻止更远的点击allowClear
事件交还给onClick
事件 DatePicker clear value when mouse up ant-design/ant-design#31799order
DatePicker的RangePicker能不能也增加这个参数order={false},虽然现在类型文件上是有的,但是加了这个参数之后并没有生效。 业务就是不希望被开始时间和结束时间被调换引起误操作,选错了提示错误就好 ant-design/ant-design#33440showWeek
Add ShowWeek option in DatePicker ant-design/ant-design#21726disabled
与allowEmpty
warning 时机错误的问题 RangePicker allowEmpty is being ignored when disabled ant-design/ant-design#26286mode
切换特殊逻辑,现在总是year
>month
>date
为什么日期组件在点选年之后不会跳月份选择,而在切换到上/下个10年份选择后会跳到月份选择呢? ant-design/ant-design#38343disabled
下设置open
不再能打开面板defaultOpenValue
onKeyDown
不再提供preventDefault
方法,请使用 event 原生的preventDefault
方法Picker
needConfirm
DatePicker的onChange事件触发不对 ant-design/ant-design#23475meridiem
也需要滚动 [TimePicker]: Remove scroll in the format "hh:mm A" when selecting between AM or PM ant-design/ant-design#45691mode
切换实现date
->time
选择 Setting modes programatically not working properly anymore ant-design/ant-design#27680multiple
DatePicker multiple date selection? ant-design/ant-design#4447Now
不触发onChange
事件 Now button doesn't work when date panel (showTime = true) is switched to month or year panel ant-design/ant-design#28811移动端
Holder
Ant Design Side
format