Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building Power Apps
Unanswered

Default value modern controls

(1) ShareShare
ReportReport
Posted on by 86

I am working on a component, which contains modern control radio button. This radio button is linked to Yes/No column in Dataverse table. My struggle is related to setting the default value of the radio buttons to blank. 

 

I have created a custom input Record property "Default", which is linked to DefaultSelectedItems of the radio button (DefaultSelectedItems = cmpRadio.Default).

 

In the app, if user has selected some project in Project Overview Screen, value related to selected project should be defaulted. If user starts creating a new project, none of the radio buttons should be selected.

Default value of component cmpAcquisiton is set as following: 

 

If(
 !IsBlank(gvSelectedProject),
 {Value: gvSelectedProject.Acquisitions}
)

 

 

I cannot figure out, how I can achieve with modern controls (same for combobox) that when the component is reset, no value is selected.

I have also tried Reset(cmpAcquisition) in a separate button, but without success.

 

Any help would be greatly appreciated.

  • mmbr1606 Profile Picture
    11,991 Super User 2025 Season 1 on at
    Re: Default value modern controls

    hey @MalyMajo 

     

    i dont have a solution to you post but a suggestion

     

    Modern controls are still in preview, and i (and also many others) do not suggest using them much as of now. they can be buggy an cause issues in many places.

     

    Let me know if my answer helped solving your issue.

    If it did please accept as solution and give it a thumbs up so we can help others in the community.



    Greetings

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,537 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,908 Most Valuable Professional

Leaderboard