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
feat: New Picker #46982
Merged
Merged
feat: New Picker #46982
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
crazyair
reviewed
Jan 17, 2024
crazyair
reviewed
Jan 17, 2024
crazyair
reviewed
Jan 17, 2024
crazyair
reviewed
Jan 17, 2024
crazyair
approved these changes
Jan 24, 2024
cmponents 错别字 |
footer 高度变化的问题修了么 |
footer 高度变化的问题修了么Yes 这几个高亮是符合预期的么?Yes |
yoyo837
reviewed
Jan 29, 2024
yoyo837
reviewed
Jan 29, 2024
这个合掉之后那一堆 issue 就自动关了吗? |
不会,还是需要写close, closes, fix, fixes 等 |
Is this the Datepicker RFC? Does the custom panel support rendering datepicker in a modal for responsiveness? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
[中文版模板 / Chinese template]
🤔 This is a ...
🔗 Related issue link
💡 Background and solution
Origin #46685
resolves #47063
📝 Changelog
Chinese
disabledDate
检查逻辑,现在会提供info.type
告知当前面板信息。multiple
支持多选能力。pickerValue
、defaultPickerValue
属性用于受控管理展开面板所在日期。defaultPickerValue
现在会在每次面板展开时都进行重置。preserveInvalidOnBlur
属性用于无障碍时失去焦点需要保留输入内容的场景。format
支持align
属性,允许通过掩码模式输入内容。required
属性。id
属性支持分别设置start
和end
输入框的id
。onFocus
和onBlur
事件会额外提供一个info.range
告知当前的焦点来自于哪个输入框。scrollOnChange
设置滚动时间时自动选择对应的时间。needConfirm
属性,允许设置需要确认、或者不确认的提交模式。components
属性,允许自定义部分面板。locale
进行配置。format
支持LT
、LTS
日期格式。minDate
和maxDate
用于设置面板切换范围。order
属性。showWeek
属性。use12Hours
下,disabledTime
获取的hour
也会被裁剪成 0~12 的问题。allowClear
触发事件从onMouseDown
切换为onClick
。onKetDown
的preventDefault
参数,请直接通过event.preventDefault
进行调用。English
disabledDate
check logic, now it will provideinfo.type
to inform the current panel information.multiple
to support multiple selection capabilities.pickerValue
anddefaultPickerValue
attributes to control the date where the expanded panel is located.defaultPickerValue
will now be reset each time the panel is expanded.preserveInvalidOnBlur
attribute to keep the input content when losing focus in the case of accessibility.format
supports thealign
attribute, allowing input content through the mask mode.required
attribute.id
attribute under RangePicker supports setting theid
of thestart
andend
input boxes separately.onFocus
andonBlur
events of RangePicker will additionally provide aninfo.range
to inform which input box the current focus comes from.scrollOnChange
to automatically select the corresponding time when scrolling.needConfirm
attribute to allow setting the confirmation or non-confirmation submission mode.components
attribute to allow customizing some panels.locale
.format
supportsLT
andLTS
date formats.minDate
andmaxDate
to set the panel switching range.order
attribute.showWeek
attribute.hour
obtained bydisabledTime
underuse12Hours
will also be clipped to 0~12.allowClear
trigger event fromonMouseDown
toonClick
.preventDefault
parameter ofonKetDown
, please call it directly throughevent.preventDefault
.☑️ Self-Check before Merge