{"action":"created","issue":{"url":"https://api.github.com/repos/TryGhost/Ghost/issues/7140","repository_url":"https://api.github.com/repos/TryGhost/Ghost","labels_url":"https://api.github.com/repos/TryGhost/Ghost/issues/7140/labels{/name}","comments_url":"https://api.github.com/repos/TryGhost/Ghost/issues/7140/comments","events_url":"https://api.github.com/repos/TryGhost/Ghost/issues/7140/events","html_url":"https://github.com/TryGhost/Ghost/issues/7140","id":167416128,"number":7140,"title":"Focusing URL field of the \"new nav item\" row causes validation errors when saving","user":{"login":"kevinansfield","id":415,"avatar_url":"https://avatars.githubusercontent.com/u/415?v=3","gravatar_id":"","url":"https://api.github.com/users/kevinansfield","html_url":"https://github.com/kevinansfield","followers_url":"https://api.github.com/users/kevinansfield/followers","following_url":"https://api.github.com/users/kevinansfield/following{/other_user}","gists_url":"https://api.github.com/users/kevinansfield/gists{/gist_id}","starred_url":"https://api.github.com/users/kevinansfield/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevinansfield/subscriptions","organizations_url":"https://api.github.com/users/kevinansfield/orgs","repos_url":"https://api.github.com/users/kevinansfield/repos","events_url":"https://api.github.com/users/kevinansfield/events{/privacy}","received_events_url":"https://api.github.com/users/kevinansfield/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/TryGhost/Ghost/labels/beginner","name":"beginner","color":"B3E58B"},{"url":"https://api.github.com/repos/TryGhost/Ghost/labels/bug","name":"bug","color":"EB2C00"},{"url":"https://api.github.com/repos/TryGhost/Ghost/labels/ember","name":"ember","color":"e1563f"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-07-25T17:03:50Z","updated_at":"2016-07-25T17:05:13Z","closed_at":null,"body":"### Issue Summary\r\n\r\nWhen editing the blog's navigation, if you click in the URL field of the last/new item and then try to save that entry is marked as invalid meaning you need to fully fill it in before saving.\r\n\r\n### Steps to Reproduce\r\n\r\n1. Visit the navigation settings screen\r\n2. Add some items or edit existing items\r\n3. Click in the URL field of the last item\r\n4. Click save\r\n\r\nValidation is now triggered for the apparently \"empty\"/\"new\" item meaning you need to fully fill it in before you can save your other changes.\r\n\r\n![nav-validation](https://cloud.githubusercontent.com/assets/415/17109938/18124546-5292-11e6-99aa-4f6691ce376a.gif)\r\n\r\n### Technical details:\r\n\r\n* Ghost Version: master"},"comment":{"url":"https://api.github.com/repos/TryGhost/Ghost/issues/comments/235016310","html_url":"https://github.com/TryGhost/Ghost/issues/7140#issuecomment-235016310","issue_url":"https://api.github.com/repos/TryGhost/Ghost/issues/7140","id":235016310,"user":{"login":"kevinansfield","id":415,"avatar_url":"https://avatars.githubusercontent.com/u/415?v=3","gravatar_id":"","url":"https://api.github.com/users/kevinansfield","html_url":"https://github.com/kevinansfield","followers_url":"https://api.github.com/users/kevinansfield/followers","following_url":"https://api.github.com/users/kevinansfield/following{/other_user}","gists_url":"https://api.github.com/users/kevinansfield/gists{/gist_id}","starred_url":"https://api.github.com/users/kevinansfield/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevinansfield/subscriptions","organizations_url":"https://api.github.com/users/kevinansfield/orgs","repos_url":"https://api.github.com/users/kevinansfield/repos","events_url":"https://api.github.com/users/kevinansfield/events{/privacy}","received_events_url":"https://api.github.com/users/kevinansfield/received_events","type":"User","site_admin":false},"created_at":"2016-07-25T17:05:13Z","updated_at":"2016-07-25T17:05:13Z","body":"This should be solvable by checking if the item is new and if it's label is blank with a URL that matches the base url - if all of those are true then don't mark the anything as invalid."}}
{"actor":{"display_login":"kevinansfield"}}