Author Name Chris Fidao Social Media Image by https://annieruygtillustration.com/ The deal with React is that I don't want it, but I'm jealous of the quality of React components.

When combined with a text input, we get a list of stuff that a person can select.

If you select an option from the list of possible values, it will update the text input's value.

// If we find the selected option, grab the // machine-readable ID from the data-value attribute if (selected) { let id = selected.dataset.value console.log('selected value is:', id)} }
Newsletter

Get the latest Laravel/PHP jobs, events and curated articles straight to your inbox, once a week

Glimpse streamlines Laravel development by seamlessly deploying GitHub pull requests to preview environments with the help of Laravel Forge. Glimpse streamlines Laravel development by seamlessly deploying GitHub pull requests to preview environments with the help of Laravel Forge.
Fathom Analytics | Fast, simple and privacy-focused website analytics. Fathom Analytics | Fast, simple and privacy-focused website analytics.
Shirts painstakingly handcrafted by under-caffeinated developers. Shirts painstakingly handcrafted by under-caffeinated developers.
Community Partners