JSFiddle - React, Tailwind, and code Playground

by AndyE

HTML

<input id="123" value="Select this text, if you can" />

JavaScript

$("#123").bind("selectstart", function (evt) {
    evt.preventDefault();
});