JSFiddle - React, Tailwind, and code Playground
by fastsol
HTML
<input type="text" id="number" name="number" value="1.55">
<div id="feedback"></div>
JavaScript
var num = $('#number').val();
$('#number').focusout(function(){
var new_num = $(this).val();
if(new_num < num){
$(this).val(num);
$('#feedback').html('Your number may not be less than '+num);
}
});