Skip to main content
Community site session details

Community site session details

Session Id : fB5jJ8D7lyWvBa71EJ8Gm8
Power Apps - Building Power Apps
Unanswered

Problem with Event Type property on Components.

Like (0) ShareShare
ReportReport
Posted on 20 Mar 2024 13:59:04 by 8

I am creating a button as a component with a specific style. For this button, I am creating an "Event" type property to simulate the OnSelect. In this property, one can write the events that are needed. Within the component, this property is used in the OnSelect event of a button. The issue I'm having is that when the component is used, both at runtime and design time, when I enter the event type property, the code I have written executes if I hover over a line. For instance, if I wrote "Navigate(xxx)" in the property, and I hover over that line to modify it or something, it executes. It's very risky because I use this component sometimes with the Patch event, and if I hover over it at design time, the Patch executes, as if there were a bug in this type of properties

  • Vegas08 Profile Picture
    on 30 Apr 2025 at 09:03:34
    Problem with Event Type property on Components.
    The missing property types can be made visible by enabling the User defined types under settings. 
     
  • numeroeins Profile Picture
    21 on 22 Mar 2024 at 13:40:22
    Re: Problem with Event Type property on Components.

    Okay. I understand. It is very annoying, but I'm glad to have the property types back. Hopefully Microsoft will resolve that issue. 

     

  • jcambareri Profile Picture
    8 on 22 Mar 2024 at 13:36:18
    Re: Problem with Event Type property on Components.

    Yes, I already had that version 3.24032.26, with the property as text, but the problem persists. If I hover over the source code of the property when inserting the component, it executes itself. That's the issue I'm referring to.

  • numeroeins Profile Picture
    21 on 22 Mar 2024 at 12:19:46
    Re: Problem with Event Type property on Components.

    If you use the one I highlighted in yellow it will fix the problem. Just save all of your formulas in a text file. 

  • jcambareri Profile Picture
    8 on 22 Mar 2024 at 11:31:28
    Re: Problem with Event Type property on Components.

    Hi, yes, I already had that version as the "recommended version". The problem was found a while ago, and I'm not sure if it actually happened with the previous version, but the behavior is quite risky. It would be important if someone from Microsoft could address the issue. thanks!

     

  • numeroeins Profile Picture
    21 on 22 Mar 2024 at 11:01:20
    Re: Problem with Event Type property on Components.

    EDIT: Save any formula you used for those component properties BEFORE you fix what they broke. Mine were deleted as soon as I made the change. Thankfully, I am using a test copy of my app. 

    So, I just changed a copied version of my app to this authoring version: 

    numeroeins_3-1711105060192.png

    When the app reloaded, I received this lovely notification: 

    numeroeins_4-1711105098778.png

    I now see that the property types are back: 

    numeroeins_5-1711105143805.png

    And I see that the broken component properties (previously Event), now all have Text. Compare the similar snippet.  

    numeroeins_6-1711105267406.png

     

  • numeroeins Profile Picture
    21 on 22 Mar 2024 at 10:18:47
    Re: Problem with Event Type property on Components.

    I noticed this is a few days ago and I can say that it is really annoying. After several hours of mucking around with the different settings, I noticed something very strange when creating a new component property. The "property type" options Data, Function, Event and Action are no longer available. They have been replaced with the options Input and Output that were once under the "property definition" dropdown. All component properties that were using one of those property types are now INOP. 

    BEFORE

    numeroeins_0-1711102350356.png


    NOW

    numeroeins_1-1711102590185.png

    Notice how "Event" is missing meaning I cannot edit that property type. 

    numeroeins_2-1711102652996.png

     

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

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 637 Most Valuable Professional

#2
stampcoin Profile Picture

stampcoin 570 Super User 2025 Season 2

#3
Power Apps 1919 Profile Picture

Power Apps 1919 473

Loading complete