-
Notifications
You must be signed in to change notification settings - Fork 943
feat: add search to parameter dropdowns #18729
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good overall! Just had a few suggestions
import { Check, ChevronDown, CornerDownLeft } from "lucide-react"; | ||
import type { FC, KeyboardEventHandler } from "react"; | ||
import { Info } from "lucide-react"; | ||
import { type FC, type KeyboardEventHandler, useState } from "react"; | ||
import { cn } from "utils/cn"; | ||
|
||
interface ComboboxProps { | ||
value: string; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I know this was here originally, but I can't help but feel like selectedValue
would be more clear, especially to avoid ambiguity with inputValue
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think value
is well enough established as "the current value of the input". what I would really like to change is inputValue
-> searchValue
.
Closes coder/preview#81