Destination Detail

parent.activateValidation({"message":"This field is required.","minLength":1,"maxLength":"","type":"none","required":true,"expression":"null"}, el)} /> <${validation.ErrorMessage} errors=${validation.errors} name="mf-first-name" as=${html``} />
parent.activateValidation({"message":"This field is required.","minLength":1,"maxLength":"","type":"none","required":true,"expression":"null"}, el)} /> <${validation.ErrorMessage} errors=${validation.errors} name="mf-tel" as=${html``} />
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-select'] ? 'mf-invalid' : '' )} classNamePrefix="mf_select" name="mf-select" placeholder="${ parent.decodeEntities(`Choose Location`) } " isSearchable=${false} options=${[{"label":"Indonesia","value":"value-1","isDisabled":false},{"label":"Thailand","value":"value-2","isDisabled":false},{"label":"Singapore","value":"value-3","isDisabled":false},{"label":"Japan","value":"value-4","isDisabled":false},{"label":"France","value":"value-5","isDisabled":false},{"label":"England","value":"value-6","isDisabled":false}]} value=${parent.getValue("mf-select") ? [{"label":"Indonesia","value":"value-1","isDisabled":false},{"label":"Thailand","value":"value-2","isDisabled":false},{"label":"Singapore","value":"value-3","isDisabled":false},{"label":"Japan","value":"value-4","isDisabled":false},{"label":"France","value":"value-5","isDisabled":false},{"label":"England","value":"value-6","isDisabled":false}].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":false})); if ( parent.getValue("mf-select") === '' && false ) { parent.setValue( 'mf-select', '', true ); parent.handleChange({ target: { name: 'mf-select', value: '' } }); } }} /> <${validation.ErrorMessage} errors=${validation.errors} name="mf-select" as=${html``} />
<${props.Flatpickr} name="mf-checkin-date" className="mf-input mf-date-input mf-left-parent " placeholder="${ parent.decodeEntities(`DD - MM - YYYY`) } " options=${{"minDate":"yes","maxDate":"","dateFormat":"d-m-Y","enableTime":"","disable":[],"mode":"single","static":true,"disableMobile":true,"time_24hr":false}} value=${parent.getValue('mf-checkin-date')} onInput=${parent.handleDateTime} aria-invalid=${validation.errors['mf-checkin-date'] ? 'true' : 'false'} ref=${el => props.DateWidget( el, '', {"message":"This field is required.","required":true}, register, parent )} /> <${validation.ErrorMessage} errors=${validation.errors} name="mf-checkin-date" 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="mf-number" as=${html``} />