Handle enter event on pathway filter to allow free text( write and press enter key) #103
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
I added event handler on keyup for the pathway names section only, inside the handler I check if the pressed key is the enter key, if so the code will check for the entered value about two conditions, the first condition if the whole entered word is exists, then update the view as the same way SELECT in the AUTOCOMPLETE code part, if not check if the entered value is a part of an existing value, then show the suggestions we have for this part of word, else rather than previous which means the entered value does not exist, then show an error message says " the value dose not exists" below the Pathways Input search Field.
Related issues and discussion
#49