Skip to content

🐛 Fix form field regression with alias#12194

Merged
tiangolo merged 1 commit intofastapi:masterfrom
tonnico:fix/form-field-regression
Sep 13, 2024
Merged

🐛 Fix form field regression with alias#12194
tiangolo merged 1 commit intofastapi:masterfrom
tonnico:fix/form-field-regression

Conversation

@tonnico
Copy link
Copy Markdown
Contributor

@tonnico tonnico commented Sep 13, 2024

Fix for #12139

With 0.113.0 an alias in a Form stopped working.

This is the suggestion from #12139 (comment) with a test.

Thanks to @sinisaos for the suggestion.

@alejsdev alejsdev added the bug Something isn't working label Sep 13, 2024
@alejsdev alejsdev changed the title fix: form field regression 🐛 Fix form field regression Sep 13, 2024
@tiangolo
Copy link
Copy Markdown
Member

Great, good catch, thank you! 🍰 Thanks for putting the effort into writing proper tests. 🙇

This will be available in FastAPI 0.114.2 released in the next few hours. 🚀

@tiangolo tiangolo merged commit 88d4f2c into fastapi:master Sep 13, 2024
@tiangolo tiangolo changed the title 🐛 Fix form field regression 🐛 Fix form field regression with alias Sep 13, 2024
maxscheijen pushed a commit to maxscheijen/fastapi that referenced this pull request Sep 14, 2024
s-rigaud pushed a commit to s-rigaud/fastapi that referenced this pull request Jan 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants