{"action":"created","issue":{"url":"https://api.github.com/repos/vuejs/vue/issues/6940","repository_url":"https://api.github.com/repos/vuejs/vue","labels_url":"https://api.github.com/repos/vuejs/vue/issues/6940/labels{/name}","comments_url":"https://api.github.com/repos/vuejs/vue/issues/6940/comments","events_url":"https://api.github.com/repos/vuejs/vue/issues/6940/events","html_url":"https://github.com/vuejs/vue/pull/6940","id":269060484,"node_id":"MDExOlB1bGxSZXF1ZXN0MTQ5MTUzOTA2","number":6940,"title":"feat(v-model): add lazy modifier for v-model on components(close #6914)","user":{"login":"javoski","id":5391892,"node_id":"MDQ6VXNlcjUzOTE4OTI=","avatar_url":"https://avatars0.githubusercontent.com/u/5391892?v=4","gravatar_id":"","url":"https://api.github.com/users/javoski","html_url":"https://github.com/javoski","followers_url":"https://api.github.com/users/javoski/followers","following_url":"https://api.github.com/users/javoski/following{/other_user}","gists_url":"https://api.github.com/users/javoski/gists{/gist_id}","starred_url":"https://api.github.com/users/javoski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/javoski/subscriptions","organizations_url":"https://api.github.com/users/javoski/orgs","repos_url":"https://api.github.com/users/javoski/repos","events_url":"https://api.github.com/users/javoski/events{/privacy}","received_events_url":"https://api.github.com/users/javoski/received_events","type":"User","site_admin":false},"labels":[{"id":777055905,"node_id":"MDU6TGFiZWw3NzcwNTU5MDU=","url":"https://api.github.com/repos/vuejs/vue/labels/semver:minor","name":"semver:minor","color":"ade575","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2017-10-27T10:28:30Z","updated_at":"2018-10-29T15:42:00Z","closed_at":null,"author_association":"MEMBER","pull_request":{"url":"https://api.github.com/repos/vuejs/vue/pulls/6940","html_url":"https://github.com/vuejs/vue/pull/6940","diff_url":"https://github.com/vuejs/vue/pull/6940.diff","patch_url":"https://github.com/vuejs/vue/pull/6940.patch"},"body":"<!--\r\nPlease make sure to read the Pull Request Guidelines:\r\nhttps://github.com/vuejs/vue/blob/dev/.github/CONTRIBUTING.md#pull-request-guidelines\r\n-->\r\n\r\n<!-- PULL REQUEST TEMPLATE -->\r\n<!-- (Update \"[ ]\" to \"[x]\" to check a box) -->\r\n\r\n**What kind of change does this PR introduce?** (check at least one)\r\n\r\n- [ ] Bugfix\r\n- [x] Feature\r\n- [ ] Code style update\r\n- [ ] Refactor\r\n- [ ] Build-related changes\r\n- [ ] Other, please describe:\r\n\r\n**Does this PR introduce a breaking change?** (check one)\r\n\r\n- [ ] Yes\r\n- [x] No\r\n\r\nIf yes, please describe the impact and migration path for existing applications:\r\n\r\n**The PR fulfills these requirements:**\r\n\r\n- [x] It's submitted to the `dev` branch for v2.x (or to a previous version branch), _not_ the `master` branch\r\n- [x] When resolving a specific issue, it's referenced in the PR's title (e.g. `fix #xxx[,#xxx]`, where \"xxx\" is the issue number)\r\n- [x] All tests are passing: https://github.com/vuejs/vue/blob/dev/.github/CONTRIBUTING.md#development-setup\r\n- [x] New/updated tests are included\r\n\r\n**Other information:**\r\nclose #6914 ."},"comment":{"url":"https://api.github.com/repos/vuejs/vue/issues/comments/433960398","html_url":"https://github.com/vuejs/vue/pull/6940#issuecomment-433960398","issue_url":"https://api.github.com/repos/vuejs/vue/issues/6940","id":433960398,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMzk2MDM5OA==","user":{"login":"tmorehouse","id":2781561,"node_id":"MDQ6VXNlcjI3ODE1NjE=","avatar_url":"https://avatars3.githubusercontent.com/u/2781561?v=4","gravatar_id":"","url":"https://api.github.com/users/tmorehouse","html_url":"https://github.com/tmorehouse","followers_url":"https://api.github.com/users/tmorehouse/followers","following_url":"https://api.github.com/users/tmorehouse/following{/other_user}","gists_url":"https://api.github.com/users/tmorehouse/gists{/gist_id}","starred_url":"https://api.github.com/users/tmorehouse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tmorehouse/subscriptions","organizations_url":"https://api.github.com/users/tmorehouse/orgs","repos_url":"https://api.github.com/users/tmorehouse/repos","events_url":"https://api.github.com/users/tmorehouse/events{/privacy}","received_events_url":"https://api.github.com/users/tmorehouse/received_events","type":"User","site_admin":false},"created_at":"2018-10-29T15:42:00Z","updated_at":"2018-10-29T15:42:00Z","author_association":"NONE","body":"It would be nice for a component to actually know if the `v-model` is requesting a `lazy` (in some cases this may be required).\r\n\r\nNative inputs will have `element._vModifiers` set with an object defining what modifiers are in use (i.e. `{ lazy: true, trim: true }`, while the root element of a component will have `this.$el.vModifiers` set to an empty object, regardless of modifiers in use.  It would be very handy to have these values made available to components (or maybe exposed as a readonly `this.$vModifiers` injection, although the former would be easier to implement)"}}
{"actor":{"display_login":"tmorehouse"}}