Somehow when I let the framework load dialog view automatically, it said:
However, when using inlineView it works as expected.
How can I make it load the view ?
Somehow when I let the framework load dialog view automatically, it said:
However, when using inlineView it works as expected.
How can I make it load the view ?
Copyright © 2021 Jogjafile Inc.
It's a little late, but it may be useful for other users.
This error is because Webpack loader.
More info where: https://github.com/aurelia/dialog/issues/127
I don't like using string to reference the dialog ViewModel, because this I suggest using the option to force the View in dialog ViewModel. I don't have to change anything else. Example:
Dialog ViewModel:
Dialog View:
Method to show Dialog: