Ejemplo n.º 1
0
 /**
  * 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');
 }
Ejemplo n.º 2
0
 /**
  * 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');
 }