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

Allow upper case suggestions #1

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

JackTheFlap
Copy link

@JackTheFlap JackTheFlap commented Feb 26, 2021

I think it would make more sense to perform conversions to lower case on the filtering instead of the data itself. This allows upper case characters to be used when a suggestion is clicked.

I have also fixed a minor errors that appears in the console.

Previously onChange would convert the dataSource to lower case, now the comparison is converted to lower case but the final output is provided as originally inputted.
Line 167, added .toString() to display={displaySuggest} in order to remove 'Warning: Received `false` for a non-boolean attribute `display`.'
Added missing semicolon
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.

1 participant