{"action":"created","issue":{"url":"https://api.github.com/repos/ElemeFE/element/issues/13530","repository_url":"https://api.github.com/repos/ElemeFE/element","labels_url":"https://api.github.com/repos/ElemeFE/element/issues/13530/labels{/name}","comments_url":"https://api.github.com/repos/ElemeFE/element/issues/13530/comments","events_url":"https://api.github.com/repos/ElemeFE/element/issues/13530/events","html_url":"https://github.com/ElemeFE/element/issues/13530","id":383467092,"node_id":"MDU6SXNzdWUzODM0NjcwOTI=","number":13530,"title":"[Bug Report] el-input trim trailing spaces not cleared","user":{"login":"TMantas","id":6958890,"node_id":"MDQ6VXNlcjY5NTg4OTA=","avatar_url":"https://avatars3.githubusercontent.com/u/6958890?v=4","gravatar_id":"","url":"https://api.github.com/users/TMantas","html_url":"https://github.com/TMantas","followers_url":"https://api.github.com/users/TMantas/followers","following_url":"https://api.github.com/users/TMantas/following{/other_user}","gists_url":"https://api.github.com/users/TMantas/gists{/gist_id}","starred_url":"https://api.github.com/users/TMantas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TMantas/subscriptions","organizations_url":"https://api.github.com/users/TMantas/orgs","repos_url":"https://api.github.com/users/TMantas/repos","events_url":"https://api.github.com/users/TMantas/events{/privacy}","received_events_url":"https://api.github.com/users/TMantas/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-11-22T10:17:47Z","updated_at":"2018-11-22T11:44:50Z","closed_at":null,"author_association":"NONE","body":"<!-- generated by https://eleme-issue.surge.sh DO NOT REMOVE -->\r\n\r\n### Element UI version\r\n2.4.11\r\n\r\n### OS/Browsers version\r\nany\r\n\r\n### Vue version\r\n2.5.17\r\n\r\n### Reproduction Link\r\n[https://jsfiddle.net/4z5ctkha/](https://jsfiddle.net/4z5ctkha/)\r\n\r\n### Steps to reproduce\r\nTry typing some spaces after the \"0\" in both inputs and focus out.\r\n\r\n### What is Expected?\r\nTrailing spaces should be cleared in both native and el-input.\r\n\r\n### What is actually happening?\r\nSpaces are cleared only in native input\r\n\r\n<!-- generated by https://eleme-issue.surge.sh DO NOT REMOVE -->\r\n"},"comment":{"url":"https://api.github.com/repos/ElemeFE/element/issues/comments/441005098","html_url":"https://github.com/ElemeFE/element/issues/13530#issuecomment-441005098","issue_url":"https://api.github.com/repos/ElemeFE/element/issues/13530","id":441005098,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MTAwNTA5OA==","user":{"login":"elfman","id":948001,"node_id":"MDQ6VXNlcjk0ODAwMQ==","avatar_url":"https://avatars0.githubusercontent.com/u/948001?v=4","gravatar_id":"","url":"https://api.github.com/users/elfman","html_url":"https://github.com/elfman","followers_url":"https://api.github.com/users/elfman/followers","following_url":"https://api.github.com/users/elfman/following{/other_user}","gists_url":"https://api.github.com/users/elfman/gists{/gist_id}","starred_url":"https://api.github.com/users/elfman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elfman/subscriptions","organizations_url":"https://api.github.com/users/elfman/orgs","repos_url":"https://api.github.com/users/elfman/repos","events_url":"https://api.github.com/users/elfman/events{/privacy}","received_events_url":"https://api.github.com/users/elfman/received_events","type":"User","site_admin":false},"created_at":"2018-11-22T11:44:50Z","updated_at":"2018-11-22T11:44:50Z","author_association":"COLLABORATOR","body":"@TMantas please take a look at this [https://github.com/vuejs/vue/issues/5847](https://github.com/vuejs/vue/issues/5847)\r\n`trim` is indeed some special handling that is only present in native v-model. you can do the some thing with `@blur` event."}}
{"actor":{"display_login":"elfman"}}