Set minView, maxView, startView
I'd like to use one datetime picker that I can adjust these options before showing. I have three buttons that are Labeled now, today, future. Now shows no datetime picker. Today should show the hour selection view through minute selection view without the ability to move to day selection view. Future shows the day selection as the start view without any restrictions.
I know I can simply create two datetime pickers but was wondering if there would be an easy way to update these options on an already initialized picker. This would simplify my code a bit and might be useful in other use cases.
You can create 3 datetime picker with hidding the main input and using another input field which is visible but shared against the three pickers with the option : "linkField" http://www.malot.fr/bootstrap-datetimepicker/demo.php#demo_mirror Otherwise, I think you can do it with javascript, but it will be more complex