Skip to content

Commit 508ca0b

Browse files
committed
adjust flatpickr to support nested forms
1 parent 304b6ae commit 508ca0b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/dummy/app/matestack/dummy/components/form/flatpickr.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ def vue_props
1717
def response
1818
# exactly one root element is required since this is a Vue.js component template
1919
div class: "form-flatpickr-component" do
20-
label input_label, for: attribute_key, class: "form-label" if input_label
20+
label input_label, ":for": id, class: "form-label" if input_label
2121
input input_attributes.merge(bootstrap_flatpickr_input_attributes)
2222
render_errors
2323
render_form_text

0 commit comments

Comments
 (0)