Skip to content

Conversation

elfassy
Copy link

@elfassy elfassy commented Nov 11, 2024

Why

Overwriting the form_class is deprecated (has been for 10 years). Therefore, it doesn't make sense that form_class is setting a class that most will want to change. Also having simple_form on every form leaks implementation details

#1217 (comment)

What

change the default to not set a class on all forms. To get back the legacy behaviour set

config.default_form_class = :simple_form

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant