JSFiddle - React, Tailwind, and code Playground

HTML

<input type="text" class="login enebled" placeholder="login enebled">
<input type="text" class="password_retype" placeholder="password_retype">
<input type="text" class="login" placeholder="login">
<input type="text" class="empty" placeholder="empty">

JavaScript

$.fn.check_input = function() {console.log('check_input', this.length)};
$.fn.check_login = function() {console.log('check_login', this.length)};
$.fn.check_password_retype = function() {console.log('check_password_retype', this.length)};
$('input').on('input',function(){
        //Если измененное поле не пустое, то:
        if ($.trim(this.value)){
            $(this).check_input();
            $(this).filter('.login.enebled').check_login();
            $(this).filter('.password_retype').check_password_retype();
        }
    });