Skip to content
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

fix: preserve files only on client #490

Merged
merged 1 commit into from
Mar 7, 2024
Merged

Conversation

edmundhung
Copy link
Owner

Fix #469 and #487.

This reverts changes on #457. We will now preserve the file on submission result only if it is running on the client (i.e. client validation)

@edmundhung edmundhung force-pushed the preserve-files-only-on-client branch from 7b9da26 to a6c277b Compare March 7, 2024 16:56
Copy link

cloudflare-workers-and-pages bot commented Mar 7, 2024

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: a6c277b
Status: ✅  Deploy successful!
Preview URL: https://d2fcc940.conform.pages.dev
Branch Preview URL: https://preserve-files-only-on-clien.conform.pages.dev

View logs

@edmundhung edmundhung merged commit 7a19af5 into main Mar 7, 2024
3 checks passed
@edmundhung edmundhung deleted the preserve-files-only-on-client branch March 7, 2024 18:48
# 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.

File input not marked as dirty if useForm's defaultValue is defined
1 participant