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

airdatepicker Close button #722

Open
motyocska opened this issue Dec 8, 2024 · 0 comments
Open

airdatepicker Close button #722

motyocska opened this issue Dec 8, 2024 · 0 comments

Comments

@motyocska
Copy link

Hi Victor,

interestingly it appears there was not much interest to date to create a close/accept button yet for this widget? Thought would be nice to have a button that when clicked after the date and time is set with the date and time picker, then the calendar will close. It is easy to create it it appears by simply duplicating the element of the Clear button and make the data-action attribute a "hide" but am having trouble implementing it in my app. Would you have a recommendation on how to insert this button using javascript maybe into an app? Once I edit the element as shown in pic below it works as intended, see below:

image

appreciate the insights

Andras

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

1 participant