Skip to content

Embedded does not work correctly #356

@RodrigoDornelles

Description

@RodrigoDornelles

The Field even works visually, but it puts "name" attributes in the html meaningless which leads to an incorrect request not being able to save correctly.

expected

<input type="text" id="formulario-1-campos-opcoes-0" class="form-control is-valid" name="Formulario[campos][1][opcoes][0]" aria-invalid="false">

happen

<input type="text" id="formulario-campos-1-opcoes-campos-1-opcoes-0" class="form-control is-valid" name="Formulario[campos][1][opcoes][campos[1][opcoes]][0]" aria-invalid="false">
  • name occurred Formulario[campos][1][opcoes][campos[1][opcoes]][0] should be Formulario[campos][1][opcoes][0]
  • id occurred formulario-campos-1-opcoes-campos-1-opcoes-0 should be formulario-1-campos-opcoes-0

NOTE

thinking now, I believe it's a conflict with the activeform mayable

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions