Esempio 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');
 }
Esempio 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');
 }