-
Notifications
You must be signed in to change notification settings - Fork 277
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
[Calendar] confirm-btn 设置null无效,select event无效 #1108
Comments
👋 @lixunhui,感谢给 TDesign 提出了 issue。 |
另外,设置最大时间和最小时间后,打开日历默认界面能否停留在value值的地方,目前设置最大最小时间之后,默认停留在最小可选择日期的月份 |
感谢反馈,我来定位下问题 |
感谢反馈,我来支持下 |
16 tasks
对应 PR:#1119 ,预计下周一发布 |
16 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
tdesign-miniprogram 版本
0.27.0
重现链接
No response
重现步骤
写法1,confirm-btn 在js中定义
<t-calendar visible="{{calendar_visible}}" bind:confirm="handleSelect" type="single" confirm-btn="{{confirm_btn}}"/>
JS中代码
confirm_btn:null
结果无效
写法2,confirm-btn=null,报错
<t-calendar visible="{{calendar_visible}}" bind:confirm="handleSelect" type="single" confirm-btn=null/>
写法3,confirm-btn=“null”,确认按钮显示,只是不显示确认文字
<t-calendar visible="{{calendar_visible}}" bind:confirm="handleSelect" type="single" confirm-btn="null"/>
效果如下
bind:select 无效
<t-calendar visible="{{calendar_visible}}" bind:select="handleSelect" type="single"/>
handleSelect(e) { console.log(e.detail.value); this.hideCalendar(); }
日历上点击选择后不触发事件
期望结果
实际结果
框架版本
No response
浏览器版本
No response
系统版本
No response
Node版本
No response
补充说明
npm: '8.18.0',
node: '18.8.0',
v8: '10.2.154.13-node.11',
tdesign-miniprogram@0.27.0
The text was updated successfully, but these errors were encountered: