|
|
|
|
@ -52,15 +52,6 @@ const Registration = () => { |
|
|
|
|
labelWidth={labelWidth} |
|
|
|
|
onChange={updateFormValue(formIds.lastname)} |
|
|
|
|
/> |
|
|
|
|
<Input |
|
|
|
|
id={formIds.phone} |
|
|
|
|
value={readFormValue(formIds.phone)} |
|
|
|
|
error={readFormError(formIds.phone)} |
|
|
|
|
type='tel' |
|
|
|
|
labelLexic='form_phone' |
|
|
|
|
labelWidth={labelWidth} |
|
|
|
|
onChange={updateFormValue(formIds.phone)} |
|
|
|
|
/> |
|
|
|
|
<Input |
|
|
|
|
id={formIds.email} |
|
|
|
|
value={readFormValue(formIds.email)} |
|
|
|
|
@ -92,6 +83,14 @@ const Registration = () => { |
|
|
|
|
onChange={updateFormValue(formIds.country)} |
|
|
|
|
onSelect={onCountrySelect} |
|
|
|
|
/> |
|
|
|
|
<Input |
|
|
|
|
id={formIds.region} |
|
|
|
|
value={readFormValue(formIds.region)} |
|
|
|
|
error={readFormError(formIds.region)} |
|
|
|
|
labelLexic='form_region' |
|
|
|
|
labelWidth={labelWidth} |
|
|
|
|
onChange={onRegionOrCityChange(formIds.region)} |
|
|
|
|
/> |
|
|
|
|
<Combobox |
|
|
|
|
id={formIds.city} |
|
|
|
|
value={readFormValue(formIds.city)} |
|
|
|
|
@ -110,14 +109,6 @@ const Registration = () => { |
|
|
|
|
labelWidth={labelWidth} |
|
|
|
|
onChange={updateFormValue(formIds.postalCode)} |
|
|
|
|
/> |
|
|
|
|
<Input |
|
|
|
|
id={formIds.region} |
|
|
|
|
value={readFormValue(formIds.region)} |
|
|
|
|
error={readFormError(formIds.region)} |
|
|
|
|
labelLexic='form_region' |
|
|
|
|
labelWidth={labelWidth} |
|
|
|
|
onChange={onRegionOrCityChange(formIds.region)} |
|
|
|
|
/> |
|
|
|
|
<Input |
|
|
|
|
id={formIds.address1} |
|
|
|
|
value={readFormValue(formIds.address1)} |
|
|
|
|
@ -134,6 +125,15 @@ const Registration = () => { |
|
|
|
|
labelWidth={labelWidth} |
|
|
|
|
onChange={updateFormValue(formIds.address2)} |
|
|
|
|
/> |
|
|
|
|
<Input |
|
|
|
|
id={formIds.phone} |
|
|
|
|
value={readFormValue(formIds.phone)} |
|
|
|
|
error={readFormError(formIds.phone)} |
|
|
|
|
type='tel' |
|
|
|
|
labelLexic='form_phone' |
|
|
|
|
labelWidth={labelWidth} |
|
|
|
|
onChange={updateFormValue(formIds.phone)} |
|
|
|
|
/> |
|
|
|
|
|
|
|
|
|
<ButtonsBlock> |
|
|
|
|
<ButtonSolid type='submit'> |
|
|
|
|
|