JSFiddle - React, Tailwind, and code Playground
HTML
<div class="form-group has-feedback cpm-field empty">
<label class="control-label" for="CPM">CPM</label>
<input type="text" class="form-control" id="CPM" min="0.45" placeholder="CPM Price (USD)">
</div>
JavaScript
$('.cpm-field input').change(function(){
var min = $(this).attr('min');
value = $(this).val();
if (value.length > 0 && value < min)
{
$(this).val(min);
}
});