Skip to content

Conversation

@yuriyivanenko
Copy link

Added search by name functionality as well as the ability to add new items to the items.

const key = e.target.name
setFormData({
...formData,
id: uuid(),

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Instead of setting a uuid every time the form changes, perhaps setting the ID on submit would make more sense. What do you think?

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants