/** * Callback used on remove this attribute from an input * * @param Input $input The input from the attribute will be removed */ public static function onRemove(Input $input) { $input->removeValidator('min'); }
/** * Callback used on remove this attribute from an input * * @param Input $input The input from the attribute will be removed */ public static function onRemove(Input $input) { $input->removeValidator('required'); }