masteradit / masteradit/Note-Keeper-App

Add validation to text fields

Open
#2 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Dart
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Right now, the user can save a note without entering any information in the Title and Description text fields. The user should only be able to save a note if there is some content in the Title text field (Description is supposed to be optional).

This can be done using Form and FormTextField with validator property.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in the note entry form and inspect how Form and FormTextField are currently used. Add validation so saving requires content in the Title field while Description remains optional; done means an empty-title note cannot be saved and a title-only note can be saved.

Written by the indexing model from the issue text.

Assessment

Tech stack
dart, flutter
Domain
mobile
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.