Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Jan 26, 2024. It is now read-only.

Add code to prevent double submission#34

Open
gewenyu99 wants to merge1 commit intoappwrite:main
base:main
Choose a base branch
Loading
fromgewenyu99:fix-double-submission-on-new-todo

Conversation

gewenyu99
Copy link

The form is not disabled as the first submission is handled. This allows the form to be submitted twice if you have fast fingers like me :)

This PR attempts to address this problem using a hook and a fieldset disable. Not sure if this is good practice or antipattern.

@vercel
Copy link

vercelbot commentedMar 14, 2022
edited
Loading

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect:https://vercel.com/appwrite/todo-with-react/5n2h1C4yAwi9oVq6LW2jAZT9YjPB
✅ Preview:https://todo-with-react-git-fork-gewenyu99-fix-double-s-1b17a0-appwrite.vercel.app

@brandonroberts
Copy link
Contributor

I'd recommend just disabling the input field until its finished processing

Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.
Reviewers

@codercatdevcodercatdevcodercatdev approved these changes

@christyjacob4christyjacob4Awaiting requested review from christyjacob4

At least 1 approving review is required to merge this pull request.

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

3 participants
@gewenyu99@brandonroberts@codercatdev

[8]ページ先頭

©2009-2025 Movatter.jp