JSFiddle - React, Tailwind, and code Playground

HTML

<input type="date" value="" />

JavaScript

$('input.[type="date"]').click(function () {

		alert('hello');
		
	});