Closed plomteuxquentin closed 8 years ago
Hi,
the markup of the rendered field has the attribute ng-model
set to form.data[field.schema.name]
, so a dot in the field name will not generate (or point to) a nested object in the form data. Each field has this attribute set in its field template and thus doesn't allow anything like form.data + field.schema.name
.
It's possible to assign the ng-model
by the fg-field-input
and have its value be generated, but I'm not quite sure at this moment if it has an impact on other areas. When I've some spare time I will dig into this.
In the meantime you can always have multiple form-gen forms in the same form. They live quite happily besides each other.
Hi,
I would like to create an input link to the model "profil.name" but in the editor it's not allowed to have a dot in field's name.
why it is so? and how can I bypass this limitation
Thanks