Sets `minlength` validation error key if the value is shorter than
   minlength.