aurelia-bs-modal
aurelia-bs-modal copied to clipboard
Unable to bind an existing ViewModel instance to modal-body content-view
I'm trying to use the aurelia-bs-modal, and everything is working except my modal-content. I'm doing:
<modal-body content-view.bind="taskInstance">
where _taskInstance_is an already constructed viewModel (with corresponding template). When rendered the template corresponding to taskInstance is not loaded.
Then taskInstance template loads fine when I use:
<compose view-modal.bind="taskInstance">