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

feat(datepicker): Support selection without implicit hide #4203

Open
sebek64 opened this issue Apr 6, 2018 · 4 comments
Open

feat(datepicker): Support selection without implicit hide #4203

sebek64 opened this issue Apr 6, 2018 · 4 comments

Comments

@sebek64
Copy link
Contributor

sebek64 commented Apr 6, 2018

Bug description or feature request:

It'd be useful to allow disabling auto-hide on date selection. Use-case: a custom component combines datepicker with a custom timepicker. Visibility toggling is handled by the wrapping component. Currently, I need to call show() in onHidden (and asynchronously inside setTimeout, since it doesn't work directly).

Versions of ngx-bootstrap, Angular, and Bootstrap:

ngx-bootstrap: 2.0.3

Angular: 4

Bootstrap: 3

@mapsgeek
Copy link

thank you, you gave me a work around this, i need the datapicker to keep open by default and its value gets changed based on a click to another element which holds the range value, but the picker keeps closing and i have to click the input so it shows again.
it would be great if they can solve this so it keeps shown

@neilime
Copy link

neilime commented Jun 15, 2018

👍 it will be usefull to have a config option like hideOnSelect to disable auto-hide on date selection

@jecarney
Copy link

Bumping this! When I use the workaround, the daterangepicker flickers on and off no matter how short the setTimeout.

@gibahjoe
Copy link

Hi, what the update on this feature? Right now, I am using the datepicker with time and once the date is selected the picker closes even though a time has not been selected.

keanan-meier added a commit to SaasyCloud/ngx-bootstrap that referenced this issue Feb 7, 2024
Implement apply and cancel button to datepicker.
Modify behaviour to keep picker open until applied.

Related valor-software#4203
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants