An open API service indexing awesome lists of open source software.

https://github.com/systemsoftware/custom-select

Allow users to add a custom value to select elements
https://github.com/systemsoftware/custom-select

Last synced: about 1 year ago
JSON representation

Allow users to add a custom value to select elements

Awesome Lists containing this project

README

          

# custom-select
Allow users to add a custom option to a select dropdown
```html

1

```

That's it! The script will automatically add a custom option to the select dropdown. The custom option will be added to the end of the dropdown and will be displayed as "Enter Custom". When the user selects the custom option, a prompt will appear asking the user to enter a custom value. The custom value will be added to the dropdown and selected automatically.