I am currently working on implementing a filter for my dynamic search bar to display only the items that starts with the letter I have typed in the search bar in Wix Website.
The code is functioning very well, but it currently displays all data items that contain the letter I typed. For instance, if I entered ‘A’, it will display ‘Barbie’ as well, whereas I only want it to display data that starts with the letter ‘A’.