{"action":"created","issue":{"url":"https://api.github.com/repos/getkirby/panel/issues/262","labels_url":"https://api.github.com/repos/getkirby/panel/issues/262/labels{/name}","comments_url":"https://api.github.com/repos/getkirby/panel/issues/262/comments","events_url":"https://api.github.com/repos/getkirby/panel/issues/262/events","html_url":"https://github.com/getkirby/panel/issues/262","id":46430857,"number":262,"title":"Request: Field visibility dependant on other field values","user":{"login":"ljacobs-sml","id":4502605,"avatar_url":"https://avatars.githubusercontent.com/u/4502605?v=3","gravatar_id":"","url":"https://api.github.com/users/ljacobs-sml","html_url":"https://github.com/ljacobs-sml","followers_url":"https://api.github.com/users/ljacobs-sml/followers","following_url":"https://api.github.com/users/ljacobs-sml/following{/other_user}","gists_url":"https://api.github.com/users/ljacobs-sml/gists{/gist_id}","starred_url":"https://api.github.com/users/ljacobs-sml/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ljacobs-sml/subscriptions","organizations_url":"https://api.github.com/users/ljacobs-sml/orgs","repos_url":"https://api.github.com/users/ljacobs-sml/repos","events_url":"https://api.github.com/users/ljacobs-sml/events{/privacy}","received_events_url":"https://api.github.com/users/ljacobs-sml/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/getkirby/panel/labels/idea","name":"idea","color":"0052cc"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/getkirby/panel/milestones/2","labels_url":"https://api.github.com/repos/getkirby/panel/milestones/2/labels","id":748481,"number":2,"title":"2.1","description":"","creator":{"login":"bastianallgeier","id":24532,"avatar_url":"https://avatars.githubusercontent.com/u/24532?v=3","gravatar_id":"","url":"https://api.github.com/users/bastianallgeier","html_url":"https://github.com/bastianallgeier","followers_url":"https://api.github.com/users/bastianallgeier/followers","following_url":"https://api.github.com/users/bastianallgeier/following{/other_user}","gists_url":"https://api.github.com/users/bastianallgeier/gists{/gist_id}","starred_url":"https://api.github.com/users/bastianallgeier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bastianallgeier/subscriptions","organizations_url":"https://api.github.com/users/bastianallgeier/orgs","repos_url":"https://api.github.com/users/bastianallgeier/repos","events_url":"https://api.github.com/users/bastianallgeier/events{/privacy}","received_events_url":"https://api.github.com/users/bastianallgeier/received_events","type":"User","site_admin":false},"open_issues":43,"closed_issues":2,"state":"open","created_at":"2014-08-09T18:49:23Z","updated_at":"2014-11-07T02:01:24Z","due_on":null,"closed_at":null},"comments":3,"created_at":"2014-10-21T18:57:24Z","updated_at":"2015-01-23T16:50:09Z","closed_at":null,"body":"I perused the open enhancement requests and didn't see this, but if it's a duplicate I apologize.\r\n\r\nIs there any plan to make certain fields dependent on the selection in previous fields? I saw another request for field grouping / collapsing.. but that's not quite what I'm looking for.\r\n\r\nMy real life example is that I'm creating a grid system in kirby using neat. It will generate the grids using pages, rather than creating kirbytext markup for grids. The grid's span value can be Normal, Full Width or Table.\r\n\r\nIf the user selects a table span, I'd like the columns added to have a property for valign. If the parent is Normal or Full Width, the valign property isn't necessary and rather than having to add a notation that \"this field is only used for table grids\", it'd be nice if it just didn't show up.\r\n\r\nI could achieve this by creating blueprints for each type of grid, rather than by using a span property in the single grid blueprint.. but this removes the ability for the user to change the grid type on the fly from within the panel.\r\n\r\nMy specific scenario would require the field dependencies to span multiple blueprints rather than a single blueprint.. But even with support in a single blueprint, I could add the valign property to the grid rather than allowing each column to have it's own alignment set.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/getkirby/panel/issues/comments/71223899","html_url":"https://github.com/getkirby/panel/issues/262#issuecomment-71223899","issue_url":"https://api.github.com/repos/getkirby/panel/issues/262","id":71223899,"user":{"login":"vicegold","id":3935131,"avatar_url":"https://avatars.githubusercontent.com/u/3935131?v=3","gravatar_id":"","url":"https://api.github.com/users/vicegold","html_url":"https://github.com/vicegold","followers_url":"https://api.github.com/users/vicegold/followers","following_url":"https://api.github.com/users/vicegold/following{/other_user}","gists_url":"https://api.github.com/users/vicegold/gists{/gist_id}","starred_url":"https://api.github.com/users/vicegold/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vicegold/subscriptions","organizations_url":"https://api.github.com/users/vicegold/orgs","repos_url":"https://api.github.com/users/vicegold/repos","events_url":"https://api.github.com/users/vicegold/events{/privacy}","received_events_url":"https://api.github.com/users/vicegold/received_events","type":"User","site_admin":false},"created_at":"2015-01-23T16:50:09Z","updated_at":"2015-01-23T16:50:09Z","body":":+1: "}}