Skip to content

Commit

Permalink
small fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
mhrynko committed Jun 27, 2023
1 parent a11c9dc commit 49b7280
Show file tree
Hide file tree
Showing 2 changed files with 47 additions and 48 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ Implement the ability to add TODOs to the `TodoList` implemented in the [Static
1. Create an `App` component storing the `todos` array and displaying it using the `TodoList`.
1. Create a form to add new TODOs:
- don't create a separate component for the form (later, we will learn how to do it);
- there should be a text input for the `title` with `data-cy="titleInput"` attribute;
- add a `<select>` with `data-cy="userSelect"` attribute showing all the given users;
- add labels and placeholders where they are needed;
Expand All @@ -20,7 +19,7 @@ Implement the ability to add TODOs to the `TodoList` implemented in the [Static
- errors should appear only after clicking the `Add` button;
- hide the message immediately after any change of the field with an error;
1. If the form is valid, add a todo to the list and clear the form.
1. (* **Optional**) Allow entering only letters (`ru` and `en`), digits, and `spaces` in the `title` field. Just remove any other characters from the `title`.
1. (* **Optional**) Allow entering only letters (`ua` and `en`), digits, and `spaces` in the `title` field. Just remove any other characters from the `title`.

## Instructions

Expand Down
92 changes: 46 additions & 46 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 49b7280

Please sign in to comment.