{"action":"created","issue":{"url":"https://api.github.com/repos/unclead/yii2-multiple-input/issues/39","labels_url":"https://api.github.com/repos/unclead/yii2-multiple-input/issues/39/labels{/name}","comments_url":"https://api.github.com/repos/unclead/yii2-multiple-input/issues/39/comments","events_url":"https://api.github.com/repos/unclead/yii2-multiple-input/issues/39/events","html_url":"https://github.com/unclead/yii2-multiple-input/issues/39","id":108705483,"number":39,"title":"Add new row should not copy values of the most recent row","user":{"login":"duynguyen0511","id":436950,"avatar_url":"https://avatars.githubusercontent.com/u/436950?v=3","gravatar_id":"","url":"https://api.github.com/users/duynguyen0511","html_url":"https://github.com/duynguyen0511","followers_url":"https://api.github.com/users/duynguyen0511/followers","following_url":"https://api.github.com/users/duynguyen0511/following{/other_user}","gists_url":"https://api.github.com/users/duynguyen0511/gists{/gist_id}","starred_url":"https://api.github.com/users/duynguyen0511/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/duynguyen0511/subscriptions","organizations_url":"https://api.github.com/users/duynguyen0511/orgs","repos_url":"https://api.github.com/users/duynguyen0511/repos","events_url":"https://api.github.com/users/duynguyen0511/events{/privacy}","received_events_url":"https://api.github.com/users/duynguyen0511/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/unclead/yii2-multiple-input/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":{"login":"unclead","id":2351719,"avatar_url":"https://avatars.githubusercontent.com/u/2351719?v=3","gravatar_id":"","url":"https://api.github.com/users/unclead","html_url":"https://github.com/unclead","followers_url":"https://api.github.com/users/unclead/followers","following_url":"https://api.github.com/users/unclead/following{/other_user}","gists_url":"https://api.github.com/users/unclead/gists{/gist_id}","starred_url":"https://api.github.com/users/unclead/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/unclead/subscriptions","organizations_url":"https://api.github.com/users/unclead/orgs","repos_url":"https://api.github.com/users/unclead/repos","events_url":"https://api.github.com/users/unclead/events{/privacy}","received_events_url":"https://api.github.com/users/unclead/received_events","type":"User","site_admin":false},"milestone":null,"comments":4,"created_at":"2015-09-28T17:24:14Z","updated_at":"2015-10-01T16:23:31Z","closed_at":"2015-10-01T04:30:13Z","body":"On create, it works fine. When you click \"+\" to add new row, it gives you all blank value even though you may fill in values for your first row. \r\n\r\nOn update, when you click \"+\" to add new row, the new row will get the value of the closest row. \r\n![update](https://cloud.githubusercontent.com/assets/436950/10143016/329a74e4-65d3-11e5-9d96-0d72efae9fd7.png)\r\n![create](https://cloud.githubusercontent.com/assets/436950/10143017/329ad0b0-65d3-11e5-97fc-23c5c55a365c.png)\r\n\r\nThe reason for that is I will have \"id\" field hidden on update, so when I update existing value, I check for \"id\" in the database and update new values (not going to delete all and re-create all because other table will use the \"id\" as foreign key)\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/unclead/yii2-multiple-input/issues/comments/144778549","html_url":"https://github.com/unclead/yii2-multiple-input/issues/39#issuecomment-144778549","issue_url":"https://api.github.com/repos/unclead/yii2-multiple-input/issues/39","id":144778549,"user":{"login":"duynguyen0511","id":436950,"avatar_url":"https://avatars.githubusercontent.com/u/436950?v=3","gravatar_id":"","url":"https://api.github.com/users/duynguyen0511","html_url":"https://github.com/duynguyen0511","followers_url":"https://api.github.com/users/duynguyen0511/followers","following_url":"https://api.github.com/users/duynguyen0511/following{/other_user}","gists_url":"https://api.github.com/users/duynguyen0511/gists{/gist_id}","starred_url":"https://api.github.com/users/duynguyen0511/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/duynguyen0511/subscriptions","organizations_url":"https://api.github.com/users/duynguyen0511/orgs","repos_url":"https://api.github.com/users/duynguyen0511/repos","events_url":"https://api.github.com/users/duynguyen0511/events{/privacy}","received_events_url":"https://api.github.com/users/duynguyen0511/received_events","type":"User","site_admin":false},"created_at":"2015-10-01T16:23:31Z","updated_at":"2015-10-01T16:23:31Z","body":"@unclead thanks\r\n\r\nLove to have author actively involved in his project :)"}}