Skip to content

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