Skip to content

nut-calendar组件的start-date和end-date属性值 不能动态更新吗? #2183

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

Open
chaner-y opened this issue Mar 16, 2023 · 3 comments
Labels
Feature Request 新功能请求

Comments

@chaner-y
Copy link

What problem does this feature solve?(这个功能解决的问题)

nut-calendar组件的start-date和end-date属性,在触发选择事件时动态改变值视图无效。Taro3+vue3框架

What does the proposed API look like?(期望的 API)

nut-calendar组件的start-date和end-date属性能动态更新视图效果

@eiinu eiinu added the Feature Request 新功能请求 label Mar 30, 2023
@zhangyuanliang
Copy link
Contributor

我也遇到了相同问题,有没有其它解决思路?

@chaner-y
Copy link
Author

用回单个选择日期了,就是选择开始日期确认事件时改变结束日期的start-date和end-date属性,当选择结束日期时就可以限制选择范围了

@JakeWoki
Copy link

只有开始就写死,不能动态更新没法用

JakeWoki added a commit to JakeWoki/nutui that referenced this issue Jul 20, 2024
feat(cascader): 支持end-date属性值动态更新 jd-opensource#2183
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature Request 新功能请求
Projects
None yet
Development

No branches or pull requests

4 participants