From 9a677fe37edced170908aeaa86d5365c3e7416c4 Mon Sep 17 00:00:00 2001 From: missionfloyd Date: Fri, 9 Jun 2023 23:18:12 -0600 Subject: [PATCH] Enable custom value for country --- scripts/qrcode.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/qrcode.py b/scripts/qrcode.py index 53d5c10..1d07731 100644 --- a/scripts/qrcode.py +++ b/scripts/qrcode.py @@ -61,7 +61,7 @@ def on_ui_tabs(): inputs["vcard_state"] = gr.Text(label="State") with gr.Row(): inputs["vcard_zipcode"] = gr.Text(label="ZIP Code") - inputs["vcard_country"] = gr.Dropdown(label="Country", choices=constants.countries) + inputs["vcard_country"] = gr.Dropdown(label="Country", allow_custom_value=True, choices=constants.countries) inputs["vcard_birthday"] = gr.Text(label="Birthday") inputs["vcard_email"] = gr.Text(label="Email") inputs["vcard_phone"] = gr.Text(label="Phone")