{"action":"created","issue":{"url":"https://api.github.com/repos/agentejo/cockpit/issues/755","repository_url":"https://api.github.com/repos/agentejo/cockpit","labels_url":"https://api.github.com/repos/agentejo/cockpit/issues/755/labels{/name}","comments_url":"https://api.github.com/repos/agentejo/cockpit/issues/755/comments","events_url":"https://api.github.com/repos/agentejo/cockpit/issues/755/events","html_url":"https://github.com/agentejo/cockpit/issues/755","id":320912069,"node_id":"MDU6SXNzdWUzMjA5MTIwNjk=","number":755,"title":"Required fields option not working","user":{"login":"lilybarrett","id":14283667,"node_id":"MDQ6VXNlcjE0MjgzNjY3","avatar_url":"https://avatars0.githubusercontent.com/u/14283667?v=4","gravatar_id":"","url":"https://api.github.com/users/lilybarrett","html_url":"https://github.com/lilybarrett","followers_url":"https://api.github.com/users/lilybarrett/followers","following_url":"https://api.github.com/users/lilybarrett/following{/other_user}","gists_url":"https://api.github.com/users/lilybarrett/gists{/gist_id}","starred_url":"https://api.github.com/users/lilybarrett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lilybarrett/subscriptions","organizations_url":"https://api.github.com/users/lilybarrett/orgs","repos_url":"https://api.github.com/users/lilybarrett/repos","events_url":"https://api.github.com/users/lilybarrett/events{/privacy}","received_events_url":"https://api.github.com/users/lilybarrett/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-05-07T18:43:50Z","updated_at":"2018-10-22T13:13:15Z","closed_at":null,"author_association":"NONE","body":"I've attempted to designate some form fields as required by sliding the interface's \"Required\" button for said fields over to the right, turning the associated buttons green. The desired behavior here is that an error would be produced if the user attempts to save an entry without filling out required fields. However, the form saves successfully even when those fields are left untouched.\r\n\r\nWe'd like a reliable way to ensure that the user is required to fill out certain fields."},"comment":{"url":"https://api.github.com/repos/agentejo/cockpit/issues/comments/431831728","html_url":"https://github.com/agentejo/cockpit/issues/755#issuecomment-431831728","issue_url":"https://api.github.com/repos/agentejo/cockpit/issues/755","id":431831728,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMTgzMTcyOA==","user":{"login":"stefanKBL","id":9620479,"node_id":"MDQ6VXNlcjk2MjA0Nzk=","avatar_url":"https://avatars1.githubusercontent.com/u/9620479?v=4","gravatar_id":"","url":"https://api.github.com/users/stefanKBL","html_url":"https://github.com/stefanKBL","followers_url":"https://api.github.com/users/stefanKBL/followers","following_url":"https://api.github.com/users/stefanKBL/following{/other_user}","gists_url":"https://api.github.com/users/stefanKBL/gists{/gist_id}","starred_url":"https://api.github.com/users/stefanKBL/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stefanKBL/subscriptions","organizations_url":"https://api.github.com/users/stefanKBL/orgs","repos_url":"https://api.github.com/users/stefanKBL/repos","events_url":"https://api.github.com/users/stefanKBL/events{/privacy}","received_events_url":"https://api.github.com/users/stefanKBL/received_events","type":"User","site_admin":false},"created_at":"2018-10-22T13:13:15Z","updated_at":"2018-10-22T13:13:15Z","author_association":"NONE","body":"hi,\r\nsimilar issue when post a new entry via front-end or postman, using collections/save/collectionname\r\njust setting a username field as required, sending data with blank username, and no error, entry is created in collection... without username!\r\nSolution is of course to do validation in front-end, but i think it must also be done by cockpit, no?\r\nThanks"}}
{"actor":{"display_login":"stefanKBL"}}