Skip to content

Commit

Permalink
Merge pull request #810 from bullet-train-co/adampal-patch-2
Browse files Browse the repository at this point in the history
Update _address_field.html.erb fixes #809
  • Loading branch information
jagthedrummer committed Apr 5, 2024
2 parents 99b9808 + 0099d0f commit 509ad50
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ form ||= current_fields_form
data: {
'controller': "dependable",
'action': '$change->dependable#updateDependents',
'dependable-dependents-selector-value': "##{form.field_id(:country, :dependent_fields)}"
'dependable-dependents-selector-value': "##{address_form.field_id(:country, :dependent_fields)}"
}
}
%>
Expand All @@ -37,7 +37,7 @@ form ||= current_fields_form
</div>
<div class="sm:col-span-2">
<%= render "shared/fields/dependent_fields_frame",
id: form.field_id(:country, :dependent_fields),
id: address_form.field_id(:country, :dependent_fields),
form: address_form,
dependable_fields: [:country_id],
html_options: { class: "block space-y-5" } do |dependent_fields_controller_name|
Expand Down

0 comments on commit 509ad50

Please sign in to comment.