JSFiddle - React, Tailwind, and code Playground

HTML

<input type="checkbox" id="VisibleParam">
<input type="text" id="PotsMinValue">

JavaScript

jQuery('#VisibleParam').on('click', function(){
    
  if (!this.checked) {
    jQuery("#PotsMinValue").removeAttr("disabled");
  } else {
    jQuery("#PotsMinValue").attr("disabled", true);
  }
    
});