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

129
Views
Vue passed prop warning not informative

In one of the components, I am passing an < html > element of an iframe as a prop. I want to define the type of prop being passed, however, Vue2 throws me a non-indicative warning in the console: Invalid prop: type check failed for prop "xyz". Expected HTMLHtmlElement, got HTMLHtmlElement....

I have tried to suppress it with required: false, but it did not work. So far defining the type as type: undefined does not prompt the warning, but I bet it's a bad practice. Below is the snippet of prop definition:

xyz: {
        type: HTMLHtmlElement,
        'default': null,
        required: false
    }
about 4 years ago · Santiago Gelvez
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!