web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Problem with Event Typ...
Power Apps
Unanswered

Problem with Event Type property on Components.

(0) ShareShare
ReportReport
Posted on 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

Categories:
I have the same question (0)
  • numeroeins Profile Picture
    21 on at

    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

     

  • numeroeins Profile Picture
    21 on at

    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

     

  • jcambareri Profile Picture
    8 on at

    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 at

    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 at

    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 at

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

     

  • Vegas08 Profile Picture
    on at
    The missing property types can be made visible by enabling the User defined types under settings. 
     

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 551

#2
WarrenBelz Profile Picture

WarrenBelz 430 Most Valuable Professional

#3
Valantis Profile Picture

Valantis 298

Last 30 days Overall leaderboard