Closed MtnBiker closed 2 months ago
Two things here:
<%= f.input :year_date, as: :date, start_year: 1874, end_year: 1950, label: 'Date:', label_html: { class: 'fw-bold' } %>
There's similar discussion here https://github.com/heartcombo/simple_form/issues/79
Error reported by Chrome
"The label's for attribute doesn't match any element id. This might prevent the browser from correctly autofilling the form and accessibility tools from working correctly"
Everything seems to be working OK. But noted while trying to debug something else.
Environment
html.erb
Results in