Custom
Use the pam-Form-State
to apply custom form states success
or error
.
Default styling
success
attribute marks a success state for the input.
error
attribute marks a error state for the input.
Markup
<form pam-Form>
<input type="text" placeholder="Input" value="[modifier]" pam-Form-State="[modifier]">
</form>