Skip to content

Instantly share code, notes, and snippets.

@lobot
Created May 23, 2022 19:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lobot/5c4a27e4a32c5279f34f20caa9aa6fde to your computer and use it in GitHub Desktop.
Save lobot/5c4a27e4a32c5279f34f20caa9aa6fde to your computer and use it in GitHub Desktop.
Adding Address Autocomplete to Medusa
<div className={styles.sharedrow}>
<SelectField
id="country_code"
options={cart.region?.countries}
error={errors.country_code && touched.country_code}
errorMsg={errors.country_code}
/>
<InputField
id="province"
placeholder="State"
error={errors.province && touched.province}
errorMsg={errors.province}
type="text"
/> </div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment