{"action":"created","issue":{"url":"https://api.github.com/repos/enisn/Xamarin.Forms.InputKit/issues/15","repository_url":"https://api.github.com/repos/enisn/Xamarin.Forms.InputKit","labels_url":"https://api.github.com/repos/enisn/Xamarin.Forms.InputKit/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/enisn/Xamarin.Forms.InputKit/issues/15/comments","events_url":"https://api.github.com/repos/enisn/Xamarin.Forms.InputKit/issues/15/events","html_url":"https://github.com/enisn/Xamarin.Forms.InputKit/issues/15","id":341437498,"node_id":"MDU6SXNzdWUzNDE0Mzc0OTg=","number":15,"title":"Add a label to RadioButtonGroupView","user":{"login":"Marium-Hashmi","id":33281835,"node_id":"MDQ6VXNlcjMzMjgxODM1","avatar_url":"https://avatars3.githubusercontent.com/u/33281835?v=4","gravatar_id":"","url":"https://api.github.com/users/Marium-Hashmi","html_url":"https://github.com/Marium-Hashmi","followers_url":"https://api.github.com/users/Marium-Hashmi/followers","following_url":"https://api.github.com/users/Marium-Hashmi/following{/other_user}","gists_url":"https://api.github.com/users/Marium-Hashmi/gists{/gist_id}","starred_url":"https://api.github.com/users/Marium-Hashmi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Marium-Hashmi/subscriptions","organizations_url":"https://api.github.com/users/Marium-Hashmi/orgs","repos_url":"https://api.github.com/users/Marium-Hashmi/repos","events_url":"https://api.github.com/users/Marium-Hashmi/events{/privacy}","received_events_url":"https://api.github.com/users/Marium-Hashmi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-07-16T08:57:49Z","updated_at":"2018-07-16T16:07:20Z","closed_at":null,"author_association":"NONE","body":"How to add a label to RadioButtonGroupView?\r\n\r\n<input:RadioButtonGroupView>\r\n                   <Grid>\r\n                    <Grid.ColumnDefinitions>\r\n                        <ColumnDefinition Width=\"*\"></ColumnDefinition>\r\n                        <ColumnDefinition Width=\"*\"></ColumnDefinition>\r\n                    </Grid.ColumnDefinitions>\r\n                    <input:RadioButton Text=\"Option 1\" CircleColor=\"#55B778\" Grid.Column=\"0\" Grid.Row=\"0\"/>\r\n                        <Label Grid.Column=\"1\" Grid.Row=\"0\">Price</Label>\r\n                    </Grid>\r\n</input:RadioButtonGroupView>\r\n\r\n\r\nI've tried adding radio buttons and labels to a grid and then adding the grid to RadioButtonGroupView, but it allows all the radio buttons to be checked in the group.\r\n\r\n Any suggestion would be appreciated."},"comment":{"url":"https://api.github.com/repos/enisn/Xamarin.Forms.InputKit/issues/comments/405299418","html_url":"https://github.com/enisn/Xamarin.Forms.InputKit/issues/15#issuecomment-405299418","issue_url":"https://api.github.com/repos/enisn/Xamarin.Forms.InputKit/issues/15","id":405299418,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNTI5OTQxOA==","user":{"login":"enisn","id":23705418,"node_id":"MDQ6VXNlcjIzNzA1NDE4","avatar_url":"https://avatars0.githubusercontent.com/u/23705418?v=4","gravatar_id":"","url":"https://api.github.com/users/enisn","html_url":"https://github.com/enisn","followers_url":"https://api.github.com/users/enisn/followers","following_url":"https://api.github.com/users/enisn/following{/other_user}","gists_url":"https://api.github.com/users/enisn/gists{/gist_id}","starred_url":"https://api.github.com/users/enisn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/enisn/subscriptions","organizations_url":"https://api.github.com/users/enisn/orgs","repos_url":"https://api.github.com/users/enisn/repos","events_url":"https://api.github.com/users/enisn/events{/privacy}","received_events_url":"https://api.github.com/users/enisn/received_events","type":"User","site_admin":false},"created_at":"2018-07-16T16:07:20Z","updated_at":"2018-07-16T16:07:20Z","author_association":"OWNER","body":"If you want column view you can use selectionview, its easy way,\r\n\r\nTry that:\r\n\r\n```xml\r\n               <input:SelectionView ColumnNumber=\"3\" SelectionType=\"RadioButton\" ColumnSpacing=\"4\" SelectedItem=\"{Binding SelectedItem}\">\r\n                <input:SelectionView.ItemsSource>\r\n                    <x:Array Type=\"{x:Type x:String}\">\r\n                        <x:String>Large Price</x:String>\r\n                        <x:String>Small Price</x:String>\r\n                        <x:String>Other Price</x:String>\r\n                    </x:Array>\r\n                </input:SelectionView.ItemsSource>\r\n            </input:SelectionView>\r\n```\r\n\r\n<img src=\"https://scontent.fbtz1-1.fna.fbcdn.net/v/t1.15752-9/37258911_2012621642082272_1594158548785299456_n.png?_nc_cat=0&oh=4c1914b7b23a56fc942fa0ef9938c66b&oe=5BD3AC26\" height=\"480\" />\r\n\r\nSelectedItem will return you \"Small Price\" as string.\r\n\r\n\r\n---\r\n\r\nOr you can bind ItemsSource for dynamic selections.\r\n\r\n\r\n"}}
{"actor":{"display_login":"enisn"}}