{"action":"created","issue":{"url":"https://api.github.com/repos/APSIMInitiative/ApsimX/issues/4268","repository_url":"https://api.github.com/repos/APSIMInitiative/ApsimX","labels_url":"https://api.github.com/repos/APSIMInitiative/ApsimX/issues/4268/labels{/name}","comments_url":"https://api.github.com/repos/APSIMInitiative/ApsimX/issues/4268/comments","events_url":"https://api.github.com/repos/APSIMInitiative/ApsimX/issues/4268/events","html_url":"https://github.com/APSIMInitiative/ApsimX/issues/4268","id":508178819,"node_id":"MDU6SXNzdWU1MDgxNzg4MTk=","number":4268,"title":"Getting a dropdown of specific model types in a Manager UI","user":{"login":"sno036","id":12176269,"node_id":"MDQ6VXNlcjEyMTc2MjY5","avatar_url":"https://avatars3.githubusercontent.com/u/12176269?v=4","gravatar_id":"","url":"https://api.github.com/users/sno036","html_url":"https://github.com/sno036","followers_url":"https://api.github.com/users/sno036/followers","following_url":"https://api.github.com/users/sno036/following{/other_user}","gists_url":"https://api.github.com/users/sno036/gists{/gist_id}","starred_url":"https://api.github.com/users/sno036/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sno036/subscriptions","organizations_url":"https://api.github.com/users/sno036/orgs","repos_url":"https://api.github.com/users/sno036/repos","events_url":"https://api.github.com/users/sno036/events{/privacy}","received_events_url":"https://api.github.com/users/sno036/received_events","type":"User","site_admin":false},"labels":[{"id":197380689,"node_id":"MDU6TGFiZWwxOTczODA2ODk=","url":"https://api.github.com/repos/APSIMInitiative/ApsimX/labels/bug","name":"bug","color":"fc2929","default":true},{"id":197380695,"node_id":"MDU6TGFiZWwxOTczODA2OTU=","url":"https://api.github.com/repos/APSIMInitiative/ApsimX/labels/interface/infrastructure","name":"interface/infrastructure","color":"7ddd6c","default":false}],"state":"open","locked":false,"assignee":{"login":"hol430","id":36427516,"node_id":"MDQ6VXNlcjM2NDI3NTE2","avatar_url":"https://avatars0.githubusercontent.com/u/36427516?v=4","gravatar_id":"","url":"https://api.github.com/users/hol430","html_url":"https://github.com/hol430","followers_url":"https://api.github.com/users/hol430/followers","following_url":"https://api.github.com/users/hol430/following{/other_user}","gists_url":"https://api.github.com/users/hol430/gists{/gist_id}","starred_url":"https://api.github.com/users/hol430/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hol430/subscriptions","organizations_url":"https://api.github.com/users/hol430/orgs","repos_url":"https://api.github.com/users/hol430/repos","events_url":"https://api.github.com/users/hol430/events{/privacy}","received_events_url":"https://api.github.com/users/hol430/received_events","type":"User","site_admin":false},"assignees":[{"login":"hol430","id":36427516,"node_id":"MDQ6VXNlcjM2NDI3NTE2","avatar_url":"https://avatars0.githubusercontent.com/u/36427516?v=4","gravatar_id":"","url":"https://api.github.com/users/hol430","html_url":"https://github.com/hol430","followers_url":"https://api.github.com/users/hol430/followers","following_url":"https://api.github.com/users/hol430/following{/other_user}","gists_url":"https://api.github.com/users/hol430/gists{/gist_id}","starred_url":"https://api.github.com/users/hol430/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hol430/subscriptions","organizations_url":"https://api.github.com/users/hol430/orgs","repos_url":"https://api.github.com/users/hol430/repos","events_url":"https://api.github.com/users/hol430/events{/privacy}","received_events_url":"https://api.github.com/users/hol430/received_events","type":"User","site_admin":false}],"milestone":null,"comments":8,"created_at":"2019-10-17T01:21:27Z","updated_at":"2019-11-11T01:32:37Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"Can we have a simple way to create a dropdown in a Manager UI that will restrict the user to choosing a particular type of model. The example below produced a massive list when I only wanted models of type Report.\r\n\r\nAnd at the same time get rid of the full paths to models (@hol353 can elucidate)\r\n\r\n\r\n        [Description(\"Name of the Report model for reporting on below dates every year: \")] \r\n        [Display(Type=DisplayType.Model)]\r\n        public IModel ReportEveryYear_Name { get; set; } "},"comment":{"url":"https://api.github.com/repos/APSIMInitiative/ApsimX/issues/comments/552259572","html_url":"https://github.com/APSIMInitiative/ApsimX/issues/4268#issuecomment-552259572","issue_url":"https://api.github.com/repos/APSIMInitiative/ApsimX/issues/4268","id":552259572,"node_id":"MDEyOklzc3VlQ29tbWVudDU1MjI1OTU3Mg==","user":{"login":"hol353","id":1943827,"node_id":"MDQ6VXNlcjE5NDM4Mjc=","avatar_url":"https://avatars2.githubusercontent.com/u/1943827?v=4","gravatar_id":"","url":"https://api.github.com/users/hol353","html_url":"https://github.com/hol353","followers_url":"https://api.github.com/users/hol353/followers","following_url":"https://api.github.com/users/hol353/following{/other_user}","gists_url":"https://api.github.com/users/hol353/gists{/gist_id}","starred_url":"https://api.github.com/users/hol353/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hol353/subscriptions","organizations_url":"https://api.github.com/users/hol353/orgs","repos_url":"https://api.github.com/users/hol353/repos","events_url":"https://api.github.com/users/hol353/events{/privacy}","received_events_url":"https://api.github.com/users/hol353/received_events","type":"User","site_admin":false},"created_at":"2019-11-11T01:32:37Z","updated_at":"2019-11-11T01:32:37Z","author_association":"CONTRIBUTOR","body":"So the gtk drop-down doesn't allow the user to type something in that doesn't appear in the drop down. The Windows Forms drop down has a property that allows this. Are you sure the gtk one doesn't?"}}
{"actor":{"display_login":"hol353"}}