I am creating form update customer address
how can i create country and provice drop down option
if there is api or some method provided by shopify

2 Replies
Hello,
Could you provide more details or a code snippit? Are you using an AutoForm?
If you are using an AutoForm and have an
enum
in your model you could write something like this:
I have the documentation here for AutoForms as well https://docs.gadget.dev/reference/react/auto#autoform-
If it is alright with you I will mark this thread as resolved. If you have any more questions feel free to re-open by replyingDo you like this answer?