ngx-bootstrap
ngx-bootstrap copied to clipboard
feat(datepicker): Support selection without implicit hide
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
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
👍 it will be usefull to have a config option like hideOnSelect to disable auto-hide on date selection
Bumping this! When I use the workaround, the daterangepicker flickers on and off no matter how short the setTimeout.
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.