This toolkit helps create well-designed Power App experiences on the web & mobile. It contains a component library; PCF controls and other utilities that increase developer productivity.
MIT License
312
stars
51
forks
source link
[BUG]: Dialog OnButtonSelect property expecting record value #498
Describe the bug
The OnButtonSelect property of the Dialog component no longer accepts IF statements or UpdateContext to be used. An error occurs that the property is expecting a record value.
To Reproduce
Steps to reproduce the behavior:
Add Dialog component to canvas
Configure OnButtonSelect property with the following code per the documentation
If( Self.SelectedButton.Label = "Close", Notify("Email Sent") ); UpdateContext({ showHideDialog: false })
Error displayed for 'Expected Record Value'
Expected behavior
Configuring a Dialog OnButtonSelect property with IF statements and/or UpdateContext should work successfully
Describe the bug The OnButtonSelect property of the Dialog component no longer accepts IF statements or UpdateContext to be used. An error occurs that the property is expecting a record value.
To Reproduce Steps to reproduce the behavior:
If( Self.SelectedButton.Label = "Close", Notify("Email Sent") ); UpdateContext({ showHideDialog: false })
Expected behavior Configuring a Dialog OnButtonSelect property with IF statements and/or UpdateContext should work successfully
Screenshots