Skip to content

[Creator Starter Kit] BUG: with Dialog Component not using variables properly #532

@Mrjazz87

Description

@Mrjazz87

Describe the bug
When using the Dialog (experimental) https://learn.microsoft.com/en-us/power-platform/guidance/creator-kit/dialog component within a Canvas App, it looses or sets global variables to null or empty which makes it unusable for logic.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
When pressing a button, a variable is set using Set(varX, Item.Selected.Property), the variable is set using a property that comes from a list of items.
Once the variable is set, it updates context using UpdateContext to show the modal.
The modal is displayed and it is using variables to render different texts. The modal also has a button, that has an onClick event. The button serves as a confirmation of the previous action - that passes the variable into a Remove-function with a Lookup and the selected.Item-variable. When this happens, the variable is suddenly blank or null.

It is possible to render the variable as text in the modal, but not passing it into the Remove and Lookup.

Screenshots

Image

Image

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working⚠️ needs triageHas not been triaged by the team yet.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions