parent.activateValidation({"message":"This field is required.","minLength":1,"maxLength":"","type":"none","required":true,"expression":"null"}, el)} /> <${validation.ErrorMessage} errors=${validation.errors} name="mf-telephone" as=${html``} /> ${ parent.decodeEntities(`Numero telefónico o Whatsapp`) }
parent.activateValidation({"message":"This field is required.","emailMessage":"Please enter a valid Email address","minLength":1,"maxLength":"","type":"none","required":true,"expression":"null"}, el)} /> <${validation.ErrorMessage} errors=${validation.errors} name="mf-email" as=${html``} />
<${props.Select} className=${"mf-input mf-input-select " + ( validation.errors['mf-etnica'] ? 'mf-invalid' : '' )} classNamePrefix="mf_select" name="mf-etnica" placeholder="${ parent.decodeEntities(``) } " isSearchable=${false} options=${[{"label":"Blanco o Mestizo","value":"Blanco o Mestizo","isDisabled":false},{"label":"Ind\u00edgena","value":"Ind\u00edgena","isDisabled":false},{"label":"Negra, Afrodescendiente o Mulata","value":"Negra, Afrodescendiente o Mulata","isDisabled":false},{"label":"Oriental (Asi\u00e1tico)","value":"Oriental (Asi\u00e1tico)","isDisabled":false},{"label":"Otra","value":"Otra","isDisabled":false},{"label":"No especificada","value":"No especificada","isDisabled":false}]} value=${parent.getValue("mf-etnica") ? [{"label":"Blanco o Mestizo","value":"Blanco o Mestizo","isDisabled":false},{"label":"Ind\u00edgena","value":"Ind\u00edgena","isDisabled":false},{"label":"Negra, Afrodescendiente o Mulata","value":"Negra, Afrodescendiente o Mulata","isDisabled":false},{"label":"Oriental (Asi\u00e1tico)","value":"Oriental (Asi\u00e1tico)","isDisabled":false},{"label":"Otra","value":"Otra","isDisabled":false},{"label":"No especificada","value":"No especificada","isDisabled":false}].filter(item => item.value === parent.getValue("mf-etnica"))[0] : []} onChange=${(e)=> parent.handleSelect(e, "mf-etnica")} ref=${() => { register({ name: "mf-etnica" }, parent.activateValidation({"message":"This field is required.","minLength":1,"maxLength":"","type":"none","required":true})); if ( parent.getValue("mf-etnica") === '' && false ) { parent.setValue( 'mf-etnica', '', true ); parent.handleChange({ target: { name: 'mf-etnica', value: '' } }); } }} /> <${validation.ErrorMessage} errors=${validation.errors} name="mf-etnica" as=${html``} />