Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Search bar Submit functionality. #241

Merged
merged 4 commits into from
Oct 3, 2024
Merged

Search bar Submit functionality. #241

merged 4 commits into from
Oct 3, 2024

Conversation

nl32
Copy link
Contributor

@nl32 nl32 commented Oct 1, 2024

expands the search bar api to add a submit button that can either be passed a handler function, through submitLogic or behave like a submit button for a form, this function will also be invoked if the user presses enter in the search bar. also tweaks the current search bars to take advantage of this feature.

@nl32 nl32 requested a review from KennethImphean as a code owner October 1, 2024 21:16
Copy link

vercel bot commented Oct 1, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
jupiter ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 3, 2024 8:23pm

@TyHil TyHil self-requested a review October 1, 2024 23:14
TyHil
TyHil previously approved these changes Oct 1, 2024
src/components/searchBar/index.tsx Outdated Show resolved Hide resolved
src/components/searchBar/index.tsx Outdated Show resolved Hide resolved
@nl32 nl32 merged commit eca5322 into develop Oct 3, 2024
3 checks passed
@nl32 nl32 deleted the search-bar-submit branch October 3, 2024 20:34
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