CRM Cards Form required field invalid on initial load

ndwilliams3
Asesor destacado

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 Me gusta
0 Respuestas 0

0 Respuestas

Aún no hay respuestas para esta publicación.

Por ahora, ningún usuario ha respondido a esta publicación. Vuelve pronto para ver si alguien tiene la solución o envía tu propia respuesta si sabes cómo ayudar. Cada grano de arena cuenta.

Responder esta publicación

¿Necesitas ayuda para responder? Echa un vistazo a las pautas de la comunidad