{
parent.activateValidation({"message":"This field is required.","minLength":1,"maxLength":"","type":"none","required":false,"expression":"null"}, el)
}}
/>
<${validation.ErrorMessage}
errors=${validation.errors}
name="Vorname"
as=${html``}
/>
parent.activateValidation({"message":"This field is required.","emailMessage":"Please enter a valid Email address","minLength":1,"maxLength":"","type":"none","required":false,"expression":"null"}, el)}
/>
<${validation.ErrorMessage}
errors=${validation.errors}
name="Email"
as=${html``}
/>
parent.activateValidation({"message":"This field is required.","minLength":1,"maxLength":"","type":"none","required":false,"expression":"null"}, el)}
/>
<${validation.ErrorMessage}
errors=${validation.errors}
name="Telefonnummer"
as=${html``}
/>
<${props.Select}
className=${"mf-input mf-input-select mf-conditional-input " + ( validation.errors['Betreff'] ? 'mf-invalid' : '' )}
classNamePrefix="mf_select"
name="Betreff"
placeholder="${ parent.decodeEntities(`- Betreff (bitte auswählen) -`) } "
isSearchable=${false}
options=${[{"label":"Unfall- und Schadensgutachten","value":"Betreff_1","isDisabled":false},{"label":"Technisches Gutachten","value":"Betreff_2","isDisabled":false},{"label":"Fahrzeugbewertung","value":"Betreff_3","isDisabled":false},{"label":"Sonstiges","value":"Betreff_4","isDisabled":false}]}
value=${parent.getValue("Betreff") ? [{"label":"Unfall- und Schadensgutachten","value":"Betreff_1","isDisabled":false},{"label":"Technisches Gutachten","value":"Betreff_2","isDisabled":false},{"label":"Fahrzeugbewertung","value":"Betreff_3","isDisabled":false},{"label":"Sonstiges","value":"Betreff_4","isDisabled":false}].filter(item => item.value === parent.getValue("Betreff"))[0] : []}
onChange=${(e)=> parent.handleSelect(e, "Betreff")}
ref=${() => {
register({ name: "Betreff" }, parent.activateValidation({"message":"This field is required.","minLength":1,"maxLength":"","type":"none","required":false}));
if ( parent.getValue("Betreff") === '' && false ) {
parent.setValue( 'Betreff', '', true );
parent.handleChange({
target: {
name: 'Betreff',
value: ''
}
});
}
}}
/>
<${validation.ErrorMessage}
errors=${validation.errors}
name="Betreff"
as=${html``}
/>
<${validation.ErrorMessage}
errors=${validation.errors}
name="mf-textarea"
as=${html``}
/>