Search Bar with suggestions and filter in react for beginners
Вставка
- Опубліковано 28 вер 2024
- In this tutorial, I show you how to build a react search bar with suggestions. If you want to build a react search bar with autocomplete or suggestions feature from scratch, this video can help you.
If this video gets more than 50 likes, then I make the second episode of it. Please share what you exactly are looking for and put a thumbs up, the rest is on me!
You can download the project source code from here: pezeshkzade.co...
Hope you enjoy it.
Consider subscribing...
Have a great day.
You can download the project source code from here: pezeshkzade.com/blog/source-code/
im unable to open this link
Thank u my friend it was very helpful tutorial👋👋
if you put fullName.includes(searchTerm) instead of fullName.startsWith(searchTerm) you can search on first and lastname in the same time
عالی بود مسعود
Thank You so much❤❤❤❤❤
Really good and clear video :)
1.A list of items is to be shown when the user clicks on the input field.
2. As the user types, the items in the list should get filtered according to the input.
3. On clicking on an item, it should get added as a chip (ex. Marina Augustine) on the top and your input field should shift accordingly.
4. Once the item is added as a chip it should be removed from the list of items.
5. Every chip should have a cross (X) icon, clicking on it should remove the chip and add it back to the list.
Can you help me out for this point I see your video it is effective but can you help me out with this point or we can make a video tooo🙏
@@ananddarshan5911 Hi Anand, am also looking for the same assignment . please help me bro 🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏 if you have a solution.
thank you
Why would you make a video just to hide the source code? are you ok in the head?
Few problems:
- No arrow navigation
- No result highlighting
- Result list will affect other element positions
Hi, please the like to the codebase isn't working
How about if the id is the one being search I got an error with starts with..thank you in advance
Very good job boss... for beginners.. many thanks for help
Hi! Reading some of the comments made me super sad. How can some people have such negative attitude towards you? Cursing and demanding certain things as if you owed them something? It is a clear video, with clear English, and you can watch along the video and write the code, instead of demanding for things to get to you already 100% done. And if you really need the source code, you can ask for it politely.
Masoud, keep up the good work and I hope that you don't get discouraged by such comments. Have a great day :)
Thanks bro, yes I will continue and try to improve my content
your English is very understandable- I have no problem 👍 so weird that people say that its "weak" lol
short and to the point. love the video.
Man even if it is a 2year old tutorial it was really helpful to me. Thank you so much for this
waiting for part 2.. i made a search filter (not using your video ) but it only adds the first search from the top - ill check if your video helps fix it ;)
helped me a lot, thank you! great stuff. Works way better than the first one that indian guy explained.
thanks. Do you have any code just like (select > option) > selectpicker (same as boots tap jquery ) > Allselect deselect , search ?
If we have to add API from POSTMAN rather than the MOCK data then how it should be done..??? I am stuck at that thing..
thanks bro
very good, i learn much from you. plrease, add more video
amazing video, short. to the point and very usefull
anyway to make this accessible and have keyboard navigation?
Amazing video, thanks
thanks man
Really good Tutorial. it save my time , Thanks
Not able to access the source code link.
How can I make it a reusable component for my entire project
I know talk spanish so... Señor lo amo
That was helpful. Thank you..
Love from India , Nice explanation
Thank you for this tutorial! Excellent, easy to understand, and concise.
You should have explained your dependencies... especially the purpose of react-select.
Awesome!
os indiano vao dominar o mundo
Thank you Masoud ..you have made my day
thank you so much
Thanks
Thank you
Awsome!
clear and straightforward, thanks
thanks alot sir
reallly helpful it was
ty
Amoo masoud eshghi damet garm
Amazing, thank you!
Short and to the point
If i unfocus the search bar, the dropdown stays. How can this be fixed?
U can hide drop-down. When input focused u can show drop down.
Opacity 0
Visibility hidden
@@us28363hdhd
Did you try this?
What happened to me in this case is, that in when I click on dropdown line, the focus is no longer on input field and disapears.
So I can't select item from dropdown...
Where is the fucking source code? After being forced to subscrive to a newsletter and after I confirm my email I click on download source code and I end up in a sandbox with something that has absoulytely no relation with this video. Which, by the way is buggy and doesn´t work.
A very poor experience indeed.
Hi sorry about that, I will fix the website soon, you can download the source code from here: codesandbox.io/s/clever-violet-vxupkq
@@ReactWithMasoud this would be useful for my successors, I already deleted the whole exercise and passed to next video. Anyway thanks.
I appreciate You For teaching but your English language speaking is weak
Thanks alot
If you don't understand his speaking you should improve your listening skills because the video is completely clear and understandable.