CRM Development Tools Beta

ndwilliams3
Key Advisor

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",
}

Screen Shot 2023-02-16 at 6.55.22 PM.png

0 Upvotes
0 Replies 0

0 Replies

No replies on this post just yet

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.

Reply to post

Need help replying? Check out our Community Guidelines