-
Bug
-
Resolution: Fixed
-
High
-
1.1.8
-
None
Steps to reproduce
- Open a Dialog with a textField and a JS-Dialog field from root in a content app
- Try to capture the change event like in the code example
- Change something in the textField
window.addEventListener( "message", function (event) { console.log(event.data.action); if (event.data.action === "init") { correlationId = event.data.correlationId; console.log(event.data); } else if (event.data.action === "change") { textDescription = event.data.state.formFields.textDescription; console.log(textDescription); } }, false );
Expected results
The change event should be fired and the text should appear in the console.
Actual results
The change event is not fired.
Workaround
Putting the dialog in the folder section of the content app seems to work. So it feels like the problem is the root context.
Development notes
Acceptance criteria