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

how to add close btn #415

Open
sdfarshid opened this issue Jan 25, 2023 · 1 comment
Open

how to add close btn #415

sdfarshid opened this issue Jan 25, 2023 · 1 comment

Comments

@sdfarshid
Copy link

I want to add extra. like today, which is Close, and after clicking on it input will be valued clear

image

@mort3za
Copy link
Collaborator

mort3za commented Mar 1, 2023

I'm afraid it doesn't have an option for it but you may want to change the template and add a button, then call hide() on it.

http://babakhani.github.io/PersianWebToolkit/doc/datepicker/options/#configtemplate-string

http://babakhani.github.io/PersianWebToolkit/doc/datepicker/api/#API+hide

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

2 participants