cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ericonline
Community Champion
Community Champion

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
tahoon
Power Apps
Power Apps

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
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Top Kudoed Authors
Users online (3,253)