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

Different mechanism for handling new type #547

Merged
merged 1 commit into from
Oct 31, 2024

Conversation

wbazant
Copy link
Collaborator

@wbazant wbazant commented Oct 28, 2024

Closes #514
Thanks Ethan for QAing this thoroughly! I've done something else with redux / callbacks / formik, the previous solution wasn't quite right.

@ezwelty
Copy link
Collaborator

ezwelty commented Oct 31, 2024

@wbazant You've been on a roll, thank you! The main bug is fixed 🥳 . Would you like to also address the more minor quirk, that Types remains red after adding a new type? 🚀 Or should I make a new issue to address this and the fact that Types is red when the form is first loaded?

Loading form:

Adding a new type:

Adding an existing type:

@wbazant
Copy link
Collaborator Author

wbazant commented Oct 31, 2024

Sure, it can be fixed on this branch! I've been looking at #534 and you can get the form permanently invalid if you click submit while it's uploading so maybe there's something bigger to do for this form in general.

@wbazant wbazant marked this pull request as draft October 31, 2024 13:54
@wbazant wbazant marked this pull request as ready for review October 31, 2024 17:27
@wbazant wbazant merged commit 75b5dac into falling-fruit:main Oct 31, 2024
1 check passed
@wbazant
Copy link
Collaborator Author

wbazant commented Oct 31, 2024

Actually this fix can go into the main branch, and I'll get to the other bug too, I'm not sure if the fix will be related.

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.

Newly added types persist in location form
2 participants