Skip to content

Fix hardcoded attribute in form #513

New issue

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

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

Already on GitHub? # to your account

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 😄

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

Successfully merging this pull request may close these issues.

2 participants