{"action":"created","issue":{"url":"https://api.github.com/repos/vitalets/angular-xeditable/issues/354","labels_url":"https://api.github.com/repos/vitalets/angular-xeditable/issues/354/labels{/name}","comments_url":"https://api.github.com/repos/vitalets/angular-xeditable/issues/354/comments","events_url":"https://api.github.com/repos/vitalets/angular-xeditable/issues/354/events","html_url":"https://github.com/vitalets/angular-xeditable/issues/354","id":99567691,"number":354,"title":"Combodate Options ","user":{"login":"mwalz","id":119113,"avatar_url":"https://avatars.githubusercontent.com/u/119113?v=3","gravatar_id":"","url":"https://api.github.com/users/mwalz","html_url":"https://github.com/mwalz","followers_url":"https://api.github.com/users/mwalz/followers","following_url":"https://api.github.com/users/mwalz/following{/other_user}","gists_url":"https://api.github.com/users/mwalz/gists{/gist_id}","starred_url":"https://api.github.com/users/mwalz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mwalz/subscriptions","organizations_url":"https://api.github.com/users/mwalz/orgs","repos_url":"https://api.github.com/users/mwalz/repos","events_url":"https://api.github.com/users/mwalz/events{/privacy}","received_events_url":"https://api.github.com/users/mwalz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-07T03:04:11Z","updated_at":"2015-10-07T14:10:03Z","closed_at":null,"body":"Combodate is a great new feature, thank you!\r\n\r\nI see it can take a number or optional parameters. How are those set on the element?\r\n\r\nWhen I try the snippet below, the minYear does not change:\r\n\r\n```html\r\n<span editable-combodate=\"user.dob\" e-name=\"dob\" e-min-year=1900></span>}\r\n```\r\n\r\nAre the options configurable at the element level?\r\n"},"comment":{"url":"https://api.github.com/repos/vitalets/angular-xeditable/issues/comments/146206100","html_url":"https://github.com/vitalets/angular-xeditable/issues/354#issuecomment-146206100","issue_url":"https://api.github.com/repos/vitalets/angular-xeditable/issues/354","id":146206100,"user":{"login":"vjanssens","id":2340997,"avatar_url":"https://avatars.githubusercontent.com/u/2340997?v=3","gravatar_id":"","url":"https://api.github.com/users/vjanssens","html_url":"https://github.com/vjanssens","followers_url":"https://api.github.com/users/vjanssens/followers","following_url":"https://api.github.com/users/vjanssens/following{/other_user}","gists_url":"https://api.github.com/users/vjanssens/gists{/gist_id}","starred_url":"https://api.github.com/users/vjanssens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vjanssens/subscriptions","organizations_url":"https://api.github.com/users/vjanssens/orgs","repos_url":"https://api.github.com/users/vjanssens/repos","events_url":"https://api.github.com/users/vjanssens/events{/privacy}","received_events_url":"https://api.github.com/users/vjanssens/received_events","type":"User","site_admin":false},"created_at":"2015-10-07T14:10:03Z","updated_at":"2015-10-07T14:10:03Z","body":"Unfortunately, it seems as if custom options on the element don't get transfered to the combodate element. I could not get the parameters to work.\r\n\r\nI didn't have the time to make a pull-request (and am not sure if it will ever be merged) for this problem but a real nasty hack would be to edit xeditable.js (the angular version) on line 231 with the following.\r\n\r\n````javascript\r\nvar combodate = editableCombodate.getInstance(this.inputEl, {\r\n  value: new Date(this.scope.$data), // should already be in the code\r\n  minYear: 1900 // custom parameter\r\n});\r\n````"}}