Skip to content

Clear search input on submit #24

@Ishaan-11

Description

@Ishaan-11

e.currentTarget.reset();

If this line is used for clearing the search input then it is not being cleared.
I suggest adding setSearchEntry(""); after handleSubmit call
onSubmit={e => handleSubmit(e, history, searchEntry)}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions