{"action":"closed","issue":{"url":"https://api.github.com/repos/vitalets/angular-xeditable/issues/186","repository_url":"https://api.github.com/repos/vitalets/angular-xeditable","labels_url":"https://api.github.com/repos/vitalets/angular-xeditable/issues/186/labels{/name}","comments_url":"https://api.github.com/repos/vitalets/angular-xeditable/issues/186/comments","events_url":"https://api.github.com/repos/vitalets/angular-xeditable/issues/186/events","html_url":"https://github.com/vitalets/angular-xeditable/issues/186","id":45522927,"number":186,"title":"Manual trigger + regular trigger = doesn't work","user":{"login":"njenia","id":1434858,"avatar_url":"https://avatars.githubusercontent.com/u/1434858?v=3","gravatar_id":"","url":"https://api.github.com/users/njenia","html_url":"https://github.com/njenia","followers_url":"https://api.github.com/users/njenia/followers","following_url":"https://api.github.com/users/njenia/following{/other_user}","gists_url":"https://api.github.com/users/njenia/gists{/gist_id}","starred_url":"https://api.github.com/users/njenia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/njenia/subscriptions","organizations_url":"https://api.github.com/users/njenia/orgs","repos_url":"https://api.github.com/users/njenia/repos","events_url":"https://api.github.com/users/njenia/events{/privacy}","received_events_url":"https://api.github.com/users/njenia/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/vitalets/angular-xeditable/labels/faq","name":"faq","color":"009800"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2014-10-10T20:53:40Z","updated_at":"2016-10-18T13:06:31Z","closed_at":"2016-10-18T13:06:31Z","body":"I need a text input field to be triggered programaticaly (from some ng-click for exampe) and also to be triggered from a click (like it does by default).\r\nThe manual way is supposed to be done using the e-form directive. The problem is that having this attribute wraps the input with a form, and this cancels the clickability of the field. This can be seen in the following code:\r\n// bind click - if no external form defined\r\n          if(!attrs.eForm) {\r\n            elem.addClass('editable-click');\r\n            elem.bind('click', function(e) {\r\n              e.preventDefault();\r\n              e.editable = eCtrl;\r\n              scope.$apply(function(){\r\n                scope.$form.$show();\r\n              });\r\n            });\r\n          }\r\n\r\nfrom directive.js.\r\n\r\nIt would be really nice having those two options simultaneously. Currently i'm just using jquery to manually click() the element, instead of using pure angular.."}}
{"actor":{"display_login":"eugef"}}