JSFiddle - React, Tailwind, and code Playground

HTML

<input type="text" minlength="2" id="item_price" name="item_price">

JavaScript

jQuery('#item_price').keyup(function () { 
    this.value = this.value.replace(/[^0-9]/g,'');
    this.value = this.value.replace(/^[0]+/g,'');
    });