Hey! I'm trying to achieve a search-field that filters an array.
I'm using Jordan Robert Dobsons "framer-InputField"-module, and on keyDown I'd like to filter an array of items that match the current input value. Also the matching letters in the items should be highlighted. (So actually just like Google Search Suggestions)
How would you go about it? I didn't try much yet, but I might have used a "indexOf()"-function loop through the items array to show those elements, but if somebody knows how to do it and maybe even has a prototype, I'd be your fanboy4life... ;)