intermine / InterMine-Data-Browser-Tool

InterMine Data Browser: a tool for exploring semi-homogeneous biological datasets
http://data-browser.apps.intermine.org/
Other
7 stars 33 forks source link

Handle enter event on pathway filter to allow free text( write and press enter key) #103

Open shaymaa91 opened 4 years ago

shaymaa91 commented 4 years ago

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

shaymaa91 commented 4 years ago

@AdrianBZG @Nikhil-Vats could you please review this and let me know your notes even if this will not be accepted?

shaymaa91 commented 4 years ago

Hi @Nikhil-Vats @AdrianBZG Sorry for chasing again, but could you please give me any update, any note? any directions about the code I used to solve the issue. Thank you :)