Skip to content

Can't get to work in Laravel 8. #135

Description

@airliajsmith

I'm not sure I'm doing this correctly. I am trying to pass data from a Vue modal to a view, not the other way around.

I have added this to my controller after saving the new record:

    JavaScriptFacade::put([
        'customer' => $customer,
        'contact' => $contact,
    ]);

The modal window then closes, but I can't find the data.

Here are my changes to config\javascript.php:

'bind_js_vars_to_this_view' => 'dashboard/shared/footer',

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions