{"id":22005497,"url":"https://github.com/systemsoftware/custom-select","last_synced_at":"2025-03-23T06:27:16.387Z","repository":{"id":248609809,"uuid":"829187397","full_name":"systemsoftware/custom-select","owner":"systemsoftware","description":"Allow users to add a custom value to select elements","archived":false,"fork":false,"pushed_at":"2024-07-16T00:06:18.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-28T13:22:04.564Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/systemsoftware.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-07-16T00:02:42.000Z","updated_at":"2024-07-16T00:06:21.000Z","dependencies_parsed_at":"2024-07-16T03:44:59.815Z","dependency_job_id":null,"html_url":"https://github.com/systemsoftware/custom-select","commit_stats":null,"previous_names":["systemsoftware/custom-select"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/systemsoftware%2Fcustom-select","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/systemsoftware%2Fcustom-select/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/systemsoftware%2Fcustom-select/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/systemsoftware%2Fcustom-select/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/systemsoftware","download_url":"https://codeload.github.com/systemsoftware/custom-select/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245064715,"owners_count":20555146,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-30T00:20:01.705Z","updated_at":"2025-03-23T06:27:16.367Z","avatar_url":"https://github.com/systemsoftware.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# custom-select\nAllow users to add a custom option to a select dropdown\n```html\n\u003chead\u003e\n\u003cscript src=\"./custom-select.js\"\u003e\u003c/script\u003e \u003c!-- Include the script --\u003e\n\u003c/head\u003e\n\n\u003cselect custom title=\"e\" custom-label=\"Enter Custom\" custom-optgroup=\"Custom Values\"\u003e\n    \u003coption value=\"1\"\u003e1\u003c/option\u003e\n\u003c/select\u003e\n```\n\nThat'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.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsystemsoftware%2Fcustom-select","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsystemsoftware%2Fcustom-select","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsystemsoftware%2Fcustom-select/lists"}