{"action":"reopened","issue":{"url":"https://api.github.com/repos/vitalets/angular-xeditable/issues/109","labels_url":"https://api.github.com/repos/vitalets/angular-xeditable/issues/109/labels{/name}","comments_url":"https://api.github.com/repos/vitalets/angular-xeditable/issues/109/comments","events_url":"https://api.github.com/repos/vitalets/angular-xeditable/issues/109/events","html_url":"https://github.com/vitalets/angular-xeditable/issues/109","id":31042412,"number":109,"title":"Add ability to set editable as enabled / disabled","user":{"login":"Robert-Leggett","id":6155814,"avatar_url":"https://avatars.githubusercontent.com/u/6155814?v=3","gravatar_id":"","url":"https://api.github.com/users/Robert-Leggett","html_url":"https://github.com/Robert-Leggett","followers_url":"https://api.github.com/users/Robert-Leggett/followers","following_url":"https://api.github.com/users/Robert-Leggett/following{/other_user}","gists_url":"https://api.github.com/users/Robert-Leggett/gists{/gist_id}","starred_url":"https://api.github.com/users/Robert-Leggett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Robert-Leggett/subscriptions","organizations_url":"https://api.github.com/users/Robert-Leggett/orgs","repos_url":"https://api.github.com/users/Robert-Leggett/repos","events_url":"https://api.github.com/users/Robert-Leggett/events{/privacy}","received_events_url":"https://api.github.com/users/Robert-Leggett/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":16,"created_at":"2014-04-08T04:30:03Z","updated_at":"2015-10-09T00:20:42Z","closed_at":null,"body":"I was previously using you other library http://vitalets.github.io/x-editable/docs.html and found it fantastic, but soon realized it was not sufficient for angular js as it did not update the ng-model and a custom directive would need to be created.\r\n\r\nI then discovered this project which supports angular js, the only issue I am facing at the moment, is the usage of the manual enable.\r\n\r\nIn the x-editable project it was simple to enable / disable editing which is great for when you have setup security and want only certain people to have edit only access, currently this library does not support that scenario.\r\n\r\nCan you create a similar feature where you can enable / disable edit in the same way that x-editable does it. Possible --> http://jsfiddle.net/mahbub/XRL4U/\r\n\r\nThe other project did this by using the .editable() and setting the disabled to true or false, and it could be applied on individual or group elements.\r\n\r\nUntil this is done I am considering to use x-editable with a custom directive similar to this.  As this approach with utilize that great feature of x-editable + support angular js model updates.\r\nhttp://jsfiddle.net/mahbub/XRL4U/"}}