element-plus
element-plus copied to clipboard
[Component] [date-picker] 怎么让日期选择器面板一直显示,能否加一个这样的功能
Bug Type: Component
Environment
- Vue Version:
3.4.38 - Element Plus Version:
2.8.1 - Browser / OS:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36 - Build Tool:
CDN
Reproduction
Related Component
el-date-picker
Reproduction Link
Steps to reproduce
直接行内显示日期面板,不会关闭
What is Expected?
直接行内显示日期面板,像Calendar组件一样
What is actually happening?
选择完日期后面板就关闭了
Additional comments
(empty)
It looks like the demand is related to this PR #17168.
We have consulted the designers before and they think it does not meet the design specifications. Perhaps we can take this opportunity to consult more people again.
cc @tolking @jw-foss @warmthsea @makedopamine @zhixiaotong
Perhaps we can consider separating the panel into a separate component like ElCascader, ElCascaderPanel.
Or export the internal components for users to implement on their own.
Perhaps we can consider separating the panel into a separate component like ElCascader, ElCascaderPanel.
Or export the internal components for users to implement on their own.
Splitting the panels into separate components looks great. 👍
what about color-picker?
what about color-picker?
Maybe we can separate a color-panel component and reuse it.
那么颜色选择器呢?
也许我们可以分离一个
color-panel组件并重复使用它。
非常需要这个组件,有些场景只需要一个el-date-picker,不需要那个输入框,如果能分离出来就太棒啦,非常感谢你们的付出
确实有很多场景都需要这个功能,期待中...
还有下文吗?
Just like PrimeVue DatePicker inline ColorPicker inline
还有下文吗?
这是一个开源项目,如果有人愿意完成这个需求,我可以分配给他。
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
此 issue 已被自动锁定,因为关闭后没有任何近期活动。如果有相关 bug,请重新创建一个新 issue。