Skip to content

Returning complex objects from Modal #442

Answered by SteveTeece
SteveTeece asked this question in Q&A
Discussion options

You must be logged in to vote

I've created a work-around for this issue...

I take the complex object, and turn it into a comma separated string, which I can then get from result.Data. Then, in the parent component, I reverse the process and turn the string back into an object.

I'm sure there would have to be a better way than this, but it's working for the moment.

Replies: 4 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@csharpnoob41
Comment options

Answer selected by SteveTeece
Comment options

You must be logged in to vote
1 reply
@SteveTeece
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants