Skip to content

Use one submit enabling condition in TaskForm #51

Description

@coderabbitai

Summary

Make the mobile and desktop TaskForm submit buttons use the same enabling condition.

Required changes

  • Use one shared condition for both submit buttons.
  • Choose one consistent behavior: disable both until the form is valid, or enable both and show the click-time validation message.

Affected areas

  • TaskForm.tsx

Acceptance criteria

  • Mobile and desktop buttons have the same enabled state for the same form data.
  • Validation behavior remains correct after submission.

Source

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions