Skip to content

How to return model from Modal? #34

Open
@kahanu

Description

@kahanu

I want to pass a model containing properties of data to the dialog content, and then return the model back with any changes to the data. An example scenario would be the dialog open a form with fields, the user edits the content in the fields, and save the the dialog.

I want my host component to capture that model with all the properties. I would rather not have to create properties for all of the model properties, which could be 20 properties.

Is this possible? If so, how? It's not obvious from your examples.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions