Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

338
Vistas
How can I determine which parameters are allowed in a HTML tag?

I have an assessment to make, but I am not sure whether or not this question is using the wrong terms? Because I feel like it should ask me which attributes are allowed, or am I just clueless?

Here is the literal translation of the question:

In Laravel Blade you see the following code:

 <x-form name="myform" id="1"></x-form>

How do you determine which other parameters are allowed in this HTML tag?

I was thinking a querySelector can be useful here, but I am not sure.

about 4 years ago · Juan Pablo Isaza
2 Respuestas
Responde la pregunta

0

As this is a Laravel component basically you are allowed unlimited attributes in components because it totally depends on your logic. The number of attributes you define in your component class can be used here. You can get more information on Laravel documentation.

https://laravel.com/docs/9.x/blade#components

about 4 years ago · Juan Pablo Isaza Denunciar

0

The trick in this question is that it tests your knowledge about Blade Components. So the valid answer will be: <x-form> is custom Blade Component, so i will go into default components directory (which is App\View\Components) and see the definition of the component with all valid attributes.

about 4 years ago · Juan Pablo Isaza Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda