web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details
Power Apps - Building Power Apps
Answered

Create a Button Component that has a property for OnSelect

Like (1) ShareShare
ReportReport
Posted on 1 Mar 2019 18:34:26 by

I am working on an app and have been implementing the new Components feature. I am trying to create a button Component that will allow me to control the look of the button and allow me to modify the OnSelect property of the button control with a 'created property' in the Custome Component, but it is not working. I get a formule error. 

 

Capture1.PNG

Does anyone have any thoughts on how to make this work. maybe I have the wrong data type selected. I have text select at the moment but I have tried others.

  • Verified answer
    RandyHayes Profile Picture
    76,287 Super User 2024 Season 1 on 05 Mar 2019 at 15:31:46
    Re: Create a Button Component that has a property for OnSelect

    @Anonymous 

    Not at this time...PLEASE vote for it here
    It would REALLY make Components shine.  Because I believe a lot of people will be trying to make components of "common screen elements" and often, common screen elements will be Menus, PopUp boxes, and other items that NEED an OnSelect or other definable Action.

Helpful resources

Quick Links

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 791 Most Valuable Professional

#2
MS.Ragavendar Profile Picture

MS.Ragavendar 410 Super User 2025 Season 2

#3
mmbr1606 Profile Picture

mmbr1606 275 Super User 2025 Season 2