JSFiddle - React, Tailwind, and code Playground
by davidmurdoch
HTML
<link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.18/themes/smoothness/jquery-ui.css">
Deep cloning an input that has a UI datepicker doesn't work as expected.
<br>
Input 1:
<input>
JavaScript
var input = $("input").datepicker();
$("body").append("<br><br><br>Input 2: ").append(
input.clone(true)
);