Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

170
Views
Pass database data from Symfony controller to vue

I'm trying to pass an array with database data ,some of the fields are Objects from related tables

I tried this way:

<div id="interactive-nut">
        <main-frame good-macro="{{ goodMacro | json_encode | raw }}"></main-frame>
</div>

I get this error

 runtime-dom.esm-bundler.js:215 Uncaught DOMException: Failed to execute 'setAttribute' on 'Element': 'macrocategory"

macrocategory is a field that contain an entity object of a reletad table

Is possible to pass de database data to vue?

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!