{"action":"opened","issue":{"url":"https://api.github.com/repos/laravel/framework/issues/30276","repository_url":"https://api.github.com/repos/laravel/framework","labels_url":"https://api.github.com/repos/laravel/framework/issues/30276/labels{/name}","comments_url":"https://api.github.com/repos/laravel/framework/issues/30276/comments","events_url":"https://api.github.com/repos/laravel/framework/issues/30276/events","html_url":"https://github.com/laravel/framework/issues/30276","id":506829067,"node_id":"MDU6SXNzdWU1MDY4MjkwNjc=","number":30276,"title":"Old() method modification","user":{"login":"naveedali8086","id":54306177,"node_id":"MDQ6VXNlcjU0MzA2MTc3","avatar_url":"https://avatars2.githubusercontent.com/u/54306177?v=4","gravatar_id":"","url":"https://api.github.com/users/naveedali8086","html_url":"https://github.com/naveedali8086","followers_url":"https://api.github.com/users/naveedali8086/followers","following_url":"https://api.github.com/users/naveedali8086/following{/other_user}","gists_url":"https://api.github.com/users/naveedali8086/gists{/gist_id}","starred_url":"https://api.github.com/users/naveedali8086/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/naveedali8086/subscriptions","organizations_url":"https://api.github.com/users/naveedali8086/orgs","repos_url":"https://api.github.com/users/naveedali8086/repos","events_url":"https://api.github.com/users/naveedali8086/events{/privacy}","received_events_url":"https://api.github.com/users/naveedali8086/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2019-10-14T19:17:39Z","updated_at":"2019-10-14T19:17:39Z","closed_at":null,"author_association":"NONE","body":"- Laravel Version: 5.7.*\r\n- PHP Version: 7.2.10\r\n\r\n### Steps To Reproduce:\r\n\r\nTwo forms (for example: login and register form), submitting to two different routes, are present on the same page.  \r\n\r\nboth forms have just one field named 'email'  \r\n\r\nlaravel has a great way to find and show errors of corresponding fields of a form (i.e. by using a key in \"withErrors($validator, 'key')\" method )  \r\n\r\nBut the old() method shows the value of field_1 of form_1 into the field_2 of form_2 and vice versa (reason: both the fields have same name)  \r\n\r\ncan the old() be modified in such a way that it also uses the 'key' that was used with \"withErrors($validator, 'key')\" method so that the old value of the corresponding field can be show in corresponding form.\r\n\r\n"}}
{"actor":{"display_login":"naveedali8086"}}