cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Super User
Super User

Radio Button No .Selected nor .Selected.Value Properties?

Hello, 

 

Am I missing it or does the Radio Button control not have a .Selected nor .Selected.Value property? I'm trying to create a collection based on the choice a user selects from radio button options. 


Getting Error: 

  •  "The collection does not accept items of this type" when using either: 
    • <radio_control_name>.Selected
    • <radio_control_name>.Selected.Value

 

Thoughts? 

1 REPLY 1
PowerApps Staff tahoon
PowerApps Staff

Re: Radio Button No .Selected nor .Selected.Value Properties?

Hi @ericonline how are you creating the collection? The Radio control has a Selected property for the selected item.

 

For example, add a Radio and Label. The Radio will be using Items=RadioSample by default. This is a collection of items that have one field called Value.

  1. Set Label.Text to Radio.Selected.Value
  2. Start Preview.
  3. Select different options. The label text will change to reflect the selected option

 

Radio.Selected refers to the selected item. Radio.Selected.Value refers to the value field of the selected item. 

Helpful resources

Announcements
firstImage

Microsoft Business Applications Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

Top Kudoed Authors
Users Online
Currently online: 268 members 5,496 guests
Recent signins:
Please welcome our newest community members: