{"action":"opened","issue":{"url":"https://api.github.com/repos/applegrew/django-select2/issues/192","labels_url":"https://api.github.com/repos/applegrew/django-select2/issues/192/labels{/name}","comments_url":"https://api.github.com/repos/applegrew/django-select2/issues/192/comments","events_url":"https://api.github.com/repos/applegrew/django-select2/issues/192/events","html_url":"https://github.com/applegrew/django-select2/issues/192","id":101094835,"number":192,"title":"Capitalisation differences results in new Tags","user":{"login":"diegomatar","id":5478971,"avatar_url":"https://avatars.githubusercontent.com/u/5478971?v=3","gravatar_id":"","url":"https://api.github.com/users/diegomatar","html_url":"https://github.com/diegomatar","followers_url":"https://api.github.com/users/diegomatar/followers","following_url":"https://api.github.com/users/diegomatar/following{/other_user}","gists_url":"https://api.github.com/users/diegomatar/gists{/gist_id}","starred_url":"https://api.github.com/users/diegomatar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/diegomatar/subscriptions","organizations_url":"https://api.github.com/users/diegomatar/orgs","repos_url":"https://api.github.com/users/diegomatar/repos","events_url":"https://api.github.com/users/diegomatar/events{/privacy}","received_events_url":"https://api.github.com/users/diegomatar/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-08-14T20:12:21Z","updated_at":"2015-08-14T20:12:21Z","closed_at":null,"body":"When a user type Tags in a \"AutoModelSelect2TagField\", the autocomplete is case insensitive (uses ['tag__icontains', ] ). But if the user ignores autocomplete's suggestions and submit a value with different capitalisation, a new object (Tag) is created.\r\n\r\nHow can I manipulate the \"value\" inputed by the user, to make it a title (something like .title() in Python), before it is processed, so capitalisation differences won't result in new Tags?\r\n\r\nI guess it should be done in 'heavy_data.js', but due to my limited skills, I could not made it..."}}