JSFiddle - React, Tailwind, and code Playground

by Jim_Toth

HTML

<input type="text" id="test">

JavaScript

$('#test').prop('maxlength', '16');