-
Notifications
You must be signed in to change notification settings - Fork 4
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
CNFT1-3317: Create operator dropdown component #1965
CNFT1-3317: Create operator dropdown component #1965
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.
This component is more than a dropdown of operators, it's encapsulating a specific use case searching using text in a specific way. This is going to be a repeatable use case so the component should produce an object representing the intention of searching with this criteria.
At least something like
{
"value": "some value",
"operator": { "name": "Starts with", "value" : "SW"}
}
Even better would be something way more expressive
{
"startsWith" : "some-value"
}
Since this is going to represent a common usage pattern it should be in the design-system
folder.
Recent updates:
|
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.
👍 Cool, can't wait to use it
Description
Implement the base operator dropdown to use for first name, last name, and applicable address fields in patient search.
Tickets
Checklist before requesting a review