From 5e321c9f48ddd7e4ac1b067c36872e17818ef7b4 Mon Sep 17 00:00:00 2001 From: Matt-Yorkley <9029026+Matt-Yorkley@users.noreply.github.com> Date: Sun, 30 Jan 2022 09:46:44 +0000 Subject: [PATCH] Fix country/state selection for shipping address; missing controller and data --- app/views/split_checkout/_details.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/split_checkout/_details.html.haml b/app/views/split_checkout/_details.html.haml index 22ae7d5031..60d6bc626f 100644 --- a/app/views/split_checkout/_details.html.haml +++ b/app/views/split_checkout/_details.html.haml @@ -129,7 +129,7 @@ = ship_address.text_field :zipcode, { placeholder: t("split_checkout.step1.address.zipcode.placeholder") } = f.error_message_on "ship_address.zipcode" - %div + %div{ "data-controller": "dependant-select", "data-dependant-select-options-value": countries_with_states } - ship_address_country = @order.ship_address.country || DefaultCountry.country %div.checkout-input