<${props.Select}
className=${"mf-input mf-input-select " + ( validation.errors['mf-select_582877'] ? 'mf-invalid' : '' )}
classNamePrefix="mf_select"
name="mf-select_582877"
placeholder="${ parent.decodeEntities(`Choose Option`) } "
isSearchable=${false}
options=${[{"label":"Request A Quote","value":"value-1","isDisabled":false},{"label":"Schedule a Consultation Call","value":"value-2","isDisabled":false},{"label":"General Inquiry","value":"value-3","isDisabled":false}]}
value=${parent.getValue("mf-select_582877") ? [{"label":"Request A Quote","value":"value-1","isDisabled":false},{"label":"Schedule a Consultation Call","value":"value-2","isDisabled":false},{"label":"General Inquiry","value":"value-3","isDisabled":false}].filter(item => item.value === parent.getValue("mf-select_582877"))[0] : []}
onChange=${(e)=> parent.handleSelect(e, "mf-select_582877")}
ref=${() => {
register({ name: "mf-select_582877" }, parent.activateValidation({"message":"This field is required.","minLength":1,"maxLength":"","type":"none","required":true}));
if ( parent.getValue("mf-select_582877") === '' && false ) {
parent.setValue( 'mf-select_582877', '', true );
parent.handleChange({
target: {
name: 'mf-select_582877',
value: ''
}
});
}
}}
/>
<${validation.ErrorMessage}
errors=${validation.errors}
name="mf-select_582877"
as=${html``}
/>