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

Disable auto hide #49

Open
ashish-negi opened this issue Nov 8, 2021 · 1 comment
Open

Disable auto hide #49

ashish-negi opened this issue Nov 8, 2021 · 1 comment

Comments

@ashish-negi
Copy link

Is there any way to disable auto hide? I want to show inline datetimepicker always. It automatically hides when I click anywhere on the document.

@ashish-negi
Copy link
Author

I am using the onBeforeHidePicker callback function to achieve this. I am throwing an error for specific condition to break auto close feature.

function cfOnBeforeHidePicker()
{
// disable auto close timepicker
if (CONDITION) {
throw new Error("Do not hide the timepicker. throw exception");
}
}

Is there any other solution?

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