JSFiddle - React, Tailwind, and code Playground

by TJ VanToll

HTML

<link rel="stylesheet" href="http://code.jquery.com/ui/jquery-ui-git.css">
<script src="http://code.jquery.com/ui/jquery-ui-git.js"></script>
<p><a href="http://bugs.jqueryui.com/ticket/6225">jQuery UI #6225</a> - Inline datepickers to not work with the <code>numberOfMonths</code> and <code>showCurrentAtPos</code> options.  To recreate select a date, the picker will incorrectly change months.</p>

<div id="datepicker"></div>

CSS

body { padding: 20px; }
p { line-height: 1.4; margin-top: 0; }

JavaScript

$( '#datepicker' ).datepicker({
    numberOfMonths: 3,
    showCurrentAtPos: 2
});