Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix hardcoded attribute in form #513

Merged
merged 1 commit into from
Mar 19, 2025

Conversation

patriciomacadden
Copy link
Contributor

In the _form partial, when the generated attribute is attachments, it generates a file_field with multiple: true. The error checking bits (to display colored borders) are hardcoded to password instead of attribute.column_name.

@flavorjones
Copy link
Member

Ah, we both missed this in af38df9. Thank you for fixing!

@flavorjones flavorjones merged commit 63d9d66 into rails:main Mar 19, 2025
17 checks passed
@patriciomacadden
Copy link
Contributor Author

yeah, my mistake! Thanks 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants