1

I'm saving a custom element that has content by field layout.
When successfully saved, I return the object in the response.
Now, most of the data is usable but the assets field is just a serialized criteria query.

return $this->asJson([
    'success' => true,
    'quotation' => $quotation
]);

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.