Skip to content

mx.ui.action does not work as expected in popups #28

@Andries-Smit

Description

@Andries-Smit

Sharing some information:
https://github.com/mendix/generator-mendix/blob/master/generators/app/templates/WidgetBoilerplate/src/WidgetName/widget/WidgetName.js.ejs#L76

Found a limitation on the https://apidocs.mendix.com/6/client/mx.ui.html#.action
Though documentation states that origin: this.mxform is not needed, it is not completely true. It is not working for full pages but does not work for popups. So this call action will close the page but not a popup. : (

So I think we need to reintroduce the origin again.

Cheers.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions