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
Ignite 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Power Apps Africa Challenge 2022

Power Apps Africa Challenge

Your chance to join an engaging competition of Power Platform enthusiasts.

Users online (2,532)