{"action":"created","issue":{"url":"https://api.github.com/repos/yairEO/tagify/issues/62","repository_url":"https://api.github.com/repos/yairEO/tagify","labels_url":"https://api.github.com/repos/yairEO/tagify/issues/62/labels{/name}","comments_url":"https://api.github.com/repos/yairEO/tagify/issues/62/comments","events_url":"https://api.github.com/repos/yairEO/tagify/issues/62/events","html_url":"https://github.com/yairEO/tagify/issues/62","id":317541776,"node_id":"MDU6SXNzdWUzMTc1NDE3NzY=","number":62,"title":"Tag separator delimiter does not change.","user":{"login":"lordmikefin","id":10686561,"node_id":"MDQ6VXNlcjEwNjg2NTYx","avatar_url":"https://avatars1.githubusercontent.com/u/10686561?v=4","gravatar_id":"","url":"https://api.github.com/users/lordmikefin","html_url":"https://github.com/lordmikefin","followers_url":"https://api.github.com/users/lordmikefin/followers","following_url":"https://api.github.com/users/lordmikefin/following{/other_user}","gists_url":"https://api.github.com/users/lordmikefin/gists{/gist_id}","starred_url":"https://api.github.com/users/lordmikefin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lordmikefin/subscriptions","organizations_url":"https://api.github.com/users/lordmikefin/orgs","repos_url":"https://api.github.com/users/lordmikefin/repos","events_url":"https://api.github.com/users/lordmikefin/events{/privacy}","received_events_url":"https://api.github.com/users/lordmikefin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-04-25T09:11:42Z","updated_at":"2018-06-10T21:05:42Z","closed_at":null,"author_association":"NONE","body":"I have problem with tagify field.\r\n( BTW: great js module )\r\n\r\nI defined delimiter for tagify.\r\n\r\n`\tvar tagify = new Tagify( input, {`\r\n`\t\tautocomplete        : false,`\r\n`\t\tdelimiters          : \" \",`\r\n`\t\tduplicates          : false,`\r\n`\t\twhitelist           : ['test', 'foobar'],`\r\n`\t\tcallbacks: {`\r\n`\t\t\tadd : onAddTag,`\r\n`\t\t\tremove : onRemoveTag`\r\n`\t\t}`\r\n`\t});`\r\n\r\nBut this does not change the delimiter for the original field.\r\nSo with input tags \"test\" and \"foobar\" will result string 'test,foobar' at input field.\r\n\r\nI do not use comma at all.\r\n\r\nIt should be possible to set \"original\" delimiter for the input field."},"comment":{"url":"https://api.github.com/repos/yairEO/tagify/issues/comments/396081955","html_url":"https://github.com/yairEO/tagify/issues/62#issuecomment-396081955","issue_url":"https://api.github.com/repos/yairEO/tagify/issues/62","id":396081955,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NjA4MTk1NQ==","user":{"login":"yairEO","id":845031,"node_id":"MDQ6VXNlcjg0NTAzMQ==","avatar_url":"https://avatars1.githubusercontent.com/u/845031?v=4","gravatar_id":"","url":"https://api.github.com/users/yairEO","html_url":"https://github.com/yairEO","followers_url":"https://api.github.com/users/yairEO/followers","following_url":"https://api.github.com/users/yairEO/following{/other_user}","gists_url":"https://api.github.com/users/yairEO/gists{/gist_id}","starred_url":"https://api.github.com/users/yairEO/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yairEO/subscriptions","organizations_url":"https://api.github.com/users/yairEO/orgs","repos_url":"https://api.github.com/users/yairEO/repos","events_url":"https://api.github.com/users/yairEO/events{/privacy}","received_events_url":"https://api.github.com/users/yairEO/received_events","type":"User","site_admin":false},"created_at":"2018-06-10T21:05:42Z","updated_at":"2018-06-10T21:05:42Z","author_association":"OWNER","body":"The delimiters are meant for user interaction and not the saved value on the original element.\r\n\r\nwhat I mean bu that is that the `delimiters` option's job is to dictate when does a new tag is added when the user is typing or pasting. om your example, your delimiter is a \"space\" character, so any time the user is hitting the spacebar or is pasting text which contain spaces, the words \"between\" the spaces become tags.\r\n\r\nwhat you want is a completely different thing. why does it matter to control the delimiters on the value of the original element? can't the server solve whatever the issue is on the server-side?\r\n\r\nThe `delimiters` setting is a complex which can have more than one delimiter, and then the code couldn't know which one you would like to use for the saved values of the original input..\r\n\r\nI believe it's better to keep it using `,` commas and not have it changed. I don't see any possible scenario where the server could not be modify to handle this.."}}
{"actor":{"display_login":"yairEO"}}