The base selector is the selector provided to the field constructor This selector should be used to apply validation-related attributes to that field.
The base selector is the selector provided to the field constructor This selector should be used to apply validation-related attributes to that field. The default implementation leaves the field untouched.
See inRange for a sample Validation that sets validation attributes on its field.
A Validation that validates a value of type T. It should return a Box[String] that is Full with a validation error if there are validation problems, or an empty box if there are no such problems.
Validations can provide a css selector that attaches validation-related attributes to the input field.
There is an implicit conversion from a (T)=>Box[String] function to a Validation[T] that simply makes no changes to the relevant input field