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
Power Platform Call June 2022 768x460.png

Power Platform Community Call

Join us for the next call on August 17, 2022 at 8am PDT.

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

365 EduCon 768x460.png

Microsoft 365 EduCon

Join us for two optional days of workshops and a 3-day conference, you can choose from over 130 sessions in multiple tracks and 25 workshops.

Users online (1,832)