{"id":15369111,"url":"https://github.com/developit/puredom-taginput","last_synced_at":"2025-09-14T02:12:51.111Z","repository":{"id":58225241,"uuid":"14385630","full_name":"developit/puredom-taginput","owner":"developit","description":"Turns \u003cinput type=\"tag\"\u003e into a tag editor field.","archived":false,"fork":false,"pushed_at":"2017-05-09T15:18:50.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-24T07:46:00.639Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://puredom.org/plugins/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/developit.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}},"created_at":"2013-11-14T05:06:45.000Z","updated_at":"2015-01-08T19:39:27.000Z","dependencies_parsed_at":"2022-08-31T05:41:30.477Z","dependency_job_id":null,"html_url":"https://github.com/developit/puredom-taginput","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/developit%2Fpuredom-taginput","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/developit%2Fpuredom-taginput/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/developit%2Fpuredom-taginput/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/developit%2Fpuredom-taginput/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/developit","download_url":"https://codeload.github.com/developit/puredom-taginput/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241039128,"owners_count":19898632,"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-10-01T13:34:13.597Z","updated_at":"2025-02-27T17:30:47.217Z","avatar_url":"https://github.com/developit.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"puredom-taginput\n================\nA [puredom](http://puredom.org) plugin that adds support for `\u003cinput type=\"tag\"\u003e` to forms wrapped in [puredom.FormHandler](http://puredom.org/docs/symbols/puredom.FormHandler.html).  \nIt enhances input fields with an interactive list of tags, represented in field values as a comma-separated list.  \n\n*To use taginput, add the CSS and JS files to your page:*  \n```html\n\u003clink rel=\"stylesheet\" type=\"text/css\" href=\"puredom-taginput.css\" /\u003e\n\u003cscript src=\"puredom-taginput.js\"\u003e\u003c/script\u003e\n```\n\n\n---\n\n\nSelection Methods\n=================\n\n`.taginput( {Boolean} enabled )`  \n*Enable or disable tag-based editing for a field*  \n\n`.removetaginput()`  \n*The same as calling `.taginput(false)`*  \n\nSelection Example\n-----------------\n```html\n\u003c!-- standard input field --\u003e\n\u003cinput id=\"myTags\" value=\"Foo, Bar, Baz\" /\u003e\n\n\u003cscript\u003e\n\t// To enable the tag input UI for that field:\n\tpuredom('#myTags').taginput();\n\n\t// To disable it:\n\tpuredom('#myTags').taginput(false);\n\u003c/script\u003e\n```\n\n\n---\n\n\nUsing With FormHandler\n======================\nIf you're using [puredom.FormHandler](http://puredom.org/docs/symbols/puredom.FormHandler.html), all `\u003cinput type=\"tag\"\u003e` fields will be automatically enhanced once you include the plugin.  \n\nFormHandler Example\n-------------------\n```html\n\u003cform id=\"myForm\"\u003e\n\t\u003cinput type=\"tag\" value=\"No Shirt,No Shoes,No Service\" /\u003e\n\u003c/form\u003e\n\n\u003cscript\u003e\n\tvar form = new puredom.FormHandler('#myForm', {\n\t\tenhance : true\n\t});\n\u003c/script\u003e\n```\n\n\n---\n\n\nLicense\n=======\nThis plugin is available under the BSD-3-Clause License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevelopit%2Fpuredom-taginput","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevelopit%2Fpuredom-taginput","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevelopit%2Fpuredom-taginput/lists"}