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 profile form when numbers are used for school names #3748

Merged
merged 1 commit into from
Apr 17, 2024
Merged

Conversation

willgearty
Copy link
Member

This should also fix other uses of AjaxForeignKeyNewformField which could presumably break if someone just entered a number in the field. While I was at it, I fixed the string representation of K12School objects. If we don't have a city/state for the contact, then we just use the school name.

Fixes #3746.

@willgearty willgearty merged commit 5dc5f67 into main Apr 17, 2024
5 checks passed
@willgearty willgearty deleted the numb-school branch April 17, 2024 00:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Putting a number for school creates an invalid profile state
2 participants