Skip to content
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

نحوه ریست کردن صحیح مقدار انتخاب شده تاریخ توسط کد #383

Open
reisi-h opened this issue Oct 25, 2021 · 2 comments

Comments

@reisi-h
Copy link

reisi-h commented Oct 25, 2021

در قسمت
API
تابعی جهت ریست کردن مقدار انتخابی کاربر وجود نداره
در صورت پاک کردن مقدار
input
همچنان تاریخ انتخابی در تقویم وجود داره و در ضمن رویداد
onSelect
نیز در این حالت تریگر نمیشه
راه صحیح ریست یا کلیر کردن تاریخ انتخابی با کد چیه

@matinwd
Copy link

matinwd commented Feb 12, 2022

I have the same problem... any idea?

@AzarJahrom
Copy link

یا باید دوباره new کنید persianDatePicker رو...
یا از متود setDate استفاده کنید که ورودی یک unix time stamp می گیره و تاریخ متناظرش رو ست می کنه:
persianDatePicker.setDate(unix)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants