Bootstrap 4 datapicker.js not included

Twitter BootstrapBootstrap 4

Twitter Bootstrap Problem Overview


I'm using Bootstrap V4 for my new website seeing that it is in Alpha.

However I cannot see that it has datepicker.js in its build.

Does anyone know if this will be included in V4? If not can anyone recommend a good datepicker?

Twitter Bootstrap Solutions


Solution 1 - Twitter Bootstrap

Maybe you want to try this: https://bootstrap-datepicker.readthedocs.org/en/latest/index.html

It's a flexible datepicker widget in the Bootstrap style.

Solution 2 - Twitter Bootstrap

You can use this and then you can add just a class form from bootstrap. (does not matter which version)

<div class="form-group">
 <label >Begin voorverkoop periode</label>
 <input type="date" name="bday" max="3000-12-31" 
        min="1000-01-01" class="form-control">
</div>
<div class="form-group">
 <label >Einde voorverkoop periode</label>
 <input type="date" name="bday" min="1000-01-01"
        max="3000-12-31" class="form-control">
</div>

Solution 3 - Twitter Bootstrap

Most of bootstrap datepickers as I write this answer are rather buggy when included in Bootstrap 4. In my view the least code adding solution is a jQuery plugin. I used this one https://plugins.jquery.com/datetimepicker/ - you can see its usage here: https://xdsoft.net/jqplugins/datetimepicker/ It sure is not as smooth as the whole BS interface, but it only requires its css and js files along with jQuery which is already included in bootstrap.

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
Questionottz0View Question on Stackoverflow
Solution 1 - Twitter BootstrapAndrey SalebaView Answer on Stackoverflow
Solution 2 - Twitter Bootstrapsadeq alshaarView Answer on Stackoverflow
Solution 3 - Twitter BootstrapSlinky SlothView Answer on Stackoverflow