How elementUI verifies radio and input at the same time

for example: you need to verify that radio is selected and input is not empty at the same time before passing the check

Mar.06,2021

var validate = (rule, value, callback) = > {

    if (value !=== '' && this.radio) {
      callback();
    } else{
      callback(new Error(''));
    }
  };
Menu