Skip to content

Instantly share code, notes, and snippets.

@beacrea
Last active September 15, 2022 21:14
Show Gist options
  • Save beacrea/02e761aa2a353e6f57873db8063d4397 to your computer and use it in GitHub Desktop.
Save beacrea/02e761aa2a353e6f57873db8063d4397 to your computer and use it in GitHub Desktop.
Search Input
Search Input
Nothing selected -> No results
User selects input -> Text to type at least 3 characters
User begins typing -> Text to type at least 3 characters
User types 0-2 characters -> Text to type at least 3 characters
User types 3-8 characters
If matches -> Show partial matches
If no matches -> Show error
User types 9 characters
If match -> Show single match
If no matches -> Show error
Search Results
No results
Text to type at least 3 characters
Show partial matches
Show single match
Show error
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment