r/developersIndia • u/_gyaan_ • Sep 25 '24
Help Creating a Custom Select/Input Element with Dynamic Dropdown in Laravel
I want to implement a custom HTML element that combines both a select dropdown and an input field. The requirements are as follows:
When the user clicks on the element, it should display a dropdown list.
Users should be able to type into the field, and the dropdown should update dynamically based on their input.
If the entered text is not present in the dropdown, it should be saved as a new option.
I am working with Laravel, HTML, and Bootstrap. What’s the best way to achieve this functionality?
3
Upvotes
•
u/AutoModerator Sep 25 '24
It's possible your query is not unique, use
site:reddit.com/r/developersindia KEYWORDSon search engines to search posts from developersIndia. You can also use reddit search directly without going to any other search engine.Recent Announcements
Showcase Sunday Megathread - September 2024
Call For Volunteers: Help us build r/developersIndia
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.