{"action":"created","issue":{"url":"https://api.github.com/repos/guillaumepotier/Parsley.js/issues/856","labels_url":"https://api.github.com/repos/guillaumepotier/Parsley.js/issues/856/labels{/name}","comments_url":"https://api.github.com/repos/guillaumepotier/Parsley.js/issues/856/comments","events_url":"https://api.github.com/repos/guillaumepotier/Parsley.js/issues/856/events","html_url":"https://github.com/guillaumepotier/Parsley.js/issues/856","id":59555101,"number":856,"title":"Problem with angucomplete-alt","user":{"login":"viebig","id":356510,"avatar_url":"https://avatars.githubusercontent.com/u/356510?v=3","gravatar_id":"","url":"https://api.github.com/users/viebig","html_url":"https://github.com/viebig","followers_url":"https://api.github.com/users/viebig/followers","following_url":"https://api.github.com/users/viebig/following{/other_user}","gists_url":"https://api.github.com/users/viebig/gists{/gist_id}","starred_url":"https://api.github.com/users/viebig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/viebig/subscriptions","organizations_url":"https://api.github.com/users/viebig/orgs","repos_url":"https://api.github.com/users/viebig/repos","events_url":"https://api.github.com/users/viebig/events{/privacy}","received_events_url":"https://api.github.com/users/viebig/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-03-02T21:35:37Z","updated_at":"2015-04-07T01:34:05Z","closed_at":"2015-03-06T03:21:56Z","body":"When used in conjunction with [angucomplete-alt](https://github.com/ghiden/angucomplete-alt) parsley throws this error with an empty type, appending a data-parsley-id atribute automatically...  How do I prevent it from doing that?\r\n\r\n```\r\naround line 977..\r\n\r\n          default:\r\n            throw new Error('validator type `' + type + '` is not supported');\r\n```\r\n\r\n\r\nThe generated code inside a parsley form that triggers this error:\r\n\r\n```\r\n<div angucomplete-alt=\"\" placeholder=\"Buscar produto\" pause=\"300\" selected-object=\"selectedProduct\" local-data=\"products\" search-fields=\"name\" title-field=\"name\" description-field=\"description\" image-field=\"pic\" minlength=\"1\" input-class=\"form-control form-control-small\" match-class=\"highlight\" clear-selected=\"true\" class=\"ng-isolate-scope\">\r\n    <div class=\"angucomplete-holder\" ng-class=\"{'angucomplete-dropdown-visible': showDropdown}\">\r\n        <input id=\"_value\" ng-model=\"searchStr\" ng-disabled=\"disableInput\" type=\"\" placeholder=\"Buscar produto\" ng-focus=\"onFocusHandler()\" class=\"form-control form-control-small ng-touched\" ng-blur=\"hideResults($event)\" autocapitalize=\"off\" autocorrect=\"off\" autocomplete=\"off\" ng-change=\"inputChangeHandler(searchStr)\" data-parsley-id=\"0287\"><span class=\"help-block\" id=\"parsley-id-0287\"></span>\r\n        <div id=\"_dropdown\" class=\"angucomplete-dropdown ng-hide\" ng-show=\"showDropdown\">\r\n            <div class=\"angucomplete-searching ng-binding ng-hide\" ng-show=\"searching\" ng-bind=\"textSearching\">Searching...</div>\r\n            <div class=\"angucomplete-searching ng-binding\" ng-show=\"!searching &amp;&amp; (!results || results.length == 0)\" ng-bind=\"textNoResults\">No results found</div>\r\n            <!-- ngRepeat: result in results -->\r\n        </div>\r\n    </div>\r\n</div>\r\n```\r\n\r\nThank you in advance\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/guillaumepotier/Parsley.js/issues/comments/90307309","html_url":"https://github.com/guillaumepotier/Parsley.js/issues/856#issuecomment-90307309","issue_url":"https://api.github.com/repos/guillaumepotier/Parsley.js/issues/856","id":90307309,"user":{"login":"viebig","id":356510,"avatar_url":"https://avatars.githubusercontent.com/u/356510?v=3","gravatar_id":"","url":"https://api.github.com/users/viebig","html_url":"https://github.com/viebig","followers_url":"https://api.github.com/users/viebig/followers","following_url":"https://api.github.com/users/viebig/following{/other_user}","gists_url":"https://api.github.com/users/viebig/gists{/gist_id}","starred_url":"https://api.github.com/users/viebig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/viebig/subscriptions","organizations_url":"https://api.github.com/users/viebig/orgs","repos_url":"https://api.github.com/users/viebig/repos","events_url":"https://api.github.com/users/viebig/events{/privacy}","received_events_url":"https://api.github.com/users/viebig/received_events","type":"User","site_admin":false},"created_at":"2015-04-07T01:34:05Z","updated_at":"2015-04-07T01:34:05Z","body":"Thanks mate! Keep up the great work!"}}