CRM Cards Form required field invalid on initial load
When setting a form input to required and it doesn't have an initial value, the input state is set to invalid on loading. I would expect the input state to be set to invalid only after a focus or mouseout event.
{
type: 'input',
name: 'example_input',
inputType: 'text',
label: 'Example input field',
placeholder: 'Enter some text',
required: true,
requiredValidationMessage:
"This field is required. Enter a value",
}
No one has replied to this post quite yet. Check back soon to see if someone has a solution, or submit your own reply if you know how to help! Karma is real.