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