Created by: wojtask9
Currently there is no way to generate warning state for form inputs because css rules with state
other than valid
and invalid
is dropped by browsers.
With this PR we are able to generate other states than valid
and invalid
for example
@include form-validation-state("warning", $warning);
or
@include form-validation-state("info", $info);
Edit: This is useful if we want Server Side validation