<${props.Select}
className=${"mf-input mf-input-select " + ( validation.errors['mf-service'] ? 'mf-invalid' : '' )}
classNamePrefix="mf_select"
name="mf-service"
placeholder="${ parent.decodeEntities(`Select a Service `) } "
isSearchable=${false}
options=${[{"label":"Exhibition Shoot","value":"Exhibition Shoot","isDisabled":false},{"label":"Corporate Shoot","value":"Corporate Shoot","isDisabled":false},{"label":"Ad Film Shoot","value":"Ad Film Shoot","isDisabled":false},{"label":"Event Shoot","value":"Event Shoot","isDisabled":false},{"label":"Any Other","value":"Any Other","isDisabled":false}]}
value=${parent.getValue("mf-service") ? [{"label":"Exhibition Shoot","value":"Exhibition Shoot","isDisabled":false},{"label":"Corporate Shoot","value":"Corporate Shoot","isDisabled":false},{"label":"Ad Film Shoot","value":"Ad Film Shoot","isDisabled":false},{"label":"Event Shoot","value":"Event Shoot","isDisabled":false},{"label":"Any Other","value":"Any Other","isDisabled":false}].filter(item => item.value === parent.getValue("mf-service"))[0] : []}
onChange=${(e)=> parent.handleSelect(e, "mf-service")}
ref=${() => {
register({ name: "mf-service" }, parent.activateValidation({"message":"This field is required.","minLength":1,"maxLength":"","type":"none","required":false}));
if ( parent.getValue("mf-service") === '' && false ) {
parent.setValue( 'mf-service', '', true );
parent.handleChange({
target: {
name: 'mf-service',
value: ''
}
});
}
}}
/>
<${validation.ErrorMessage}
errors=${validation.errors}
name="mf-service"
as=${html``}
/>