<${props.Select} className=${"mf-input mf-input-select " + ( validation.errors['mf-select'] ? 'mf-invalid' : '' )} classNamePrefix="mf_select" name="mf-select" placeholder="${ parent.decodeEntities(`Select a location`) } " isSearchable=${false} options=${[{"label":"Location 01","value":"value-1","isDisabled":false},{"label":"Location 02","value":"value-2","isDisabled":false},{"label":"Location 03","value":"value-3","isDisabled":false}]} value=${parent.getValue("mf-select") ? [{"mf_input_option_text":"Location 01","mf_input_option_value":"value-1","_id":"782cf3e","mf_input_option_status":"","mf_input_option_selected":""},{"mf_input_option_text":"Location 02","mf_input_option_value":"value-2","_id":"a38c5c4","mf_input_option_status":"","mf_input_option_selected":""},{"mf_input_option_text":"Location 03","mf_input_option_value":"value-3","_id":"e7cdd87","mf_input_option_status":"","mf_input_option_selected":""}].filter(item => item.value === parent.getValue("mf-select"))[0] : []} onChange=${parent.handleSelect} ref=${() => { register({ name: "mf-select" }, parent.activateValidation({"message":"This field is required.","minLength":1,"maxLength":"","type":"none","required":true})); if ( parent.getValue("mf-select") === '' && false ) { parent.handleChange({ target: { name: 'mf-select', value: '' } }); parent.setValue( 'mf-select', '', true ); } }} /> <${validation.ErrorMessage} errors=${validation.errors} name="mf-select" as=${html``} />
<${props.Flatpickr} name="mf-date-02" className="mf-input mf-date-input mf-left-parent " placeholder="${ parent.decodeEntities(`Select a date`) } " options=${{"minDate":"no","maxDate":"","dateFormat":"m-d-Y","enableTime":"","disable":[],"mode":"single","static":true,"disableMobile":true,"time_24hr":false}} value=${parent.getValue('mf-date-02')} onInput=${parent.handleDateTime} aria-invalid=${validation.errors['mf-date-02'] ? 'true' : 'false'} ref=${el => props.DateWidget( el, 'vn', {"message":"This field is required.","required":true}, register, parent )} /> <${validation.ErrorMessage} errors=${validation.errors} name="mf-date-02" as=${html``} />
<${props.Flatpickr} name="mf-date-02" className="mf-input mf-date-input mf-left-parent " placeholder="${ parent.decodeEntities(`Select a date`) } " options=${{"minDate":"no","maxDate":"","dateFormat":"m-d-Y","enableTime":"","disable":[],"mode":"single","static":true,"disableMobile":true,"time_24hr":false}} value=${parent.getValue('mf-date-02')} onInput=${parent.handleDateTime} aria-invalid=${validation.errors['mf-date-02'] ? 'true' : 'false'} ref=${el => props.DateWidget( el, 'vn', {"message":"This field is required.","required":true}, register, parent )} /> <${validation.ErrorMessage} errors=${validation.errors} name="mf-date-02" as=${html``} />
<${props.Select} className=${"mf-input mf-input-select " + ( validation.errors['mf-select'] ? 'mf-invalid' : '' )} classNamePrefix="mf_select" name="mf-select" placeholder="${ parent.decodeEntities(`Select here`) } " isSearchable=${false} options=${[{"label":"05","value":"value-1","isDisabled":false},{"label":"10","value":"value-2","isDisabled":false},{"label":"15","value":"value-3","isDisabled":false}]} value=${parent.getValue("mf-select") ? [{"mf_input_option_text":"05","mf_input_option_value":"value-1","_id":"782cf3e","mf_input_option_status":"","mf_input_option_selected":""},{"mf_input_option_text":"10","mf_input_option_value":"value-2","_id":"a38c5c4","mf_input_option_status":"","mf_input_option_selected":""},{"mf_input_option_text":"15","mf_input_option_value":"value-3","_id":"e7cdd87","mf_input_option_status":"","mf_input_option_selected":""}].filter(item => item.value === parent.getValue("mf-select"))[0] : []} onChange=${parent.handleSelect} ref=${() => { register({ name: "mf-select" }, parent.activateValidation({"message":"This field is required.","minLength":1,"maxLength":"","type":"none","required":true})); if ( parent.getValue("mf-select") === '' && false ) { parent.handleChange({ target: { name: 'mf-select', value: '' } }); parent.setValue( 'mf-select', '', true ); } }} /> <${validation.ErrorMessage} errors=${validation.errors} name="mf-select" as=${html``} />
<${props.Select} className=${"mf-input mf-input-select " + ( validation.errors['mf-select'] ? 'mf-invalid' : '' )} classNamePrefix="mf_select" name="mf-select" placeholder="${ parent.decodeEntities(`Select here`) } " isSearchable=${false} options=${[{"label":"05","value":"value-1","isDisabled":false},{"label":"10","value":"value-2","isDisabled":false},{"label":"15","value":"value-3","isDisabled":false}]} value=${parent.getValue("mf-select") ? [{"mf_input_option_text":"05","mf_input_option_value":"value-1","_id":"782cf3e","mf_input_option_status":"","mf_input_option_selected":""},{"mf_input_option_text":"10","mf_input_option_value":"value-2","_id":"a38c5c4","mf_input_option_status":"","mf_input_option_selected":""},{"mf_input_option_text":"15","mf_input_option_value":"value-3","_id":"e7cdd87","mf_input_option_status":"","mf_input_option_selected":""}].filter(item => item.value === parent.getValue("mf-select"))[0] : []} onChange=${parent.handleSelect} ref=${() => { register({ name: "mf-select" }, parent.activateValidation({"message":"This field is required.","minLength":1,"maxLength":"","type":"none","required":true})); if ( parent.getValue("mf-select") === '' && false ) { parent.handleChange({ target: { name: 'mf-select', value: '' } }); parent.setValue( 'mf-select', '', true ); } }} /> <${validation.ErrorMessage} errors=${validation.errors} name="mf-select" as=${html``} />