Skip to content

Props passed are not reactive #26

@lhilton

Description

@lhilton

I am seeing a behavior that I did not expect. I am calling a modal, passing props into the component. My call to open the modal looks like this:

this.$vuedals.open({
    title: 'Deliver List',
    component: 'modals-dnf-delivery-list',
    props: {
        deliveries: this.deliveries
    },
    escapable: true
});

In the scope of this caller, the local this.deliveries is working as expected, I can see values behind the modal update when I trigger changes to the underlying data via the UI the modal offers.

Is this expected, or am I perhaps passing this incorrectly?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions