JSFiddle - React, Tailwind, and code Playground

HTML

<link rel="stylesheet" href="http://code.jquery.com/ui/1.8.21/themes/base/jquery-ui.css" type="text/css" media="all" />
            <link rel="stylesheet" href="http://static.jquery.com/ui/css/demo-docs-theme/ui.theme.css" type="text/css" media="all" />

<input type=text id=t1>  <input type=text id=t2>

JavaScript

$(function() {
    $("#t1, #t2").datepicker();    
    $("#t1").change( function(){
        $('#t2').datepicker('show');
    } );
});