Cannot bind to ModalDialogViewModel after 27.00 update

I found a fix for this, absolutely ridiculous issue really, you can’t reference the widget inside your modal widget.

If your binding is like this you will get a compiling error

The issues comes from [Main >] in the “field” field
(“Main” is my widget’s name)

This happens when you select the button from the widget (on the right side of the menu)

image

DON’T Do this

Instead do this:

image

Expand your widget on the left side down until your button then your event

you should end up with something that looks like this:

Notice there’s no mention of widget name in the bindings area!

Technical explanation:
The compiler can’t resolve the path <WIDGET_NAME>.UEFN_Button_Quiet_C.ClickEvent for some reason it instead expects UEFN_Button_Quiet_C.ClickEvent directly and not referenced from inside your widget

In any case, i hope this besky bug gets fix because it’s extremely confusing.
Best regards.

2 Likes