>
> Hi,
>
> My form is dynamic, and therefore I hold my form fields in the following
> form:
>
model: ResourceInstance;
in ResourceInstance I have:
>
> fields?: { [key: string]: models.FieldInstance; };
>
>
in FieldInstance I have:
value?: models.FieldValue; where FieldValue is polymorphic.
>
> I have tried a few variants but cannot find the right syntax:
>
>
> [(ngModel="model.fields[{{anElement.name}}.value]")]
>
>
> What is the syntax that will allow two way data binding here?
>
>
If it is easier I might just simplify my domain model down to being a map
of string key to string value. But I still need to know the syntax for
that.
>
> Thanks
>
>
--
You received this message because you are subscribed to the Google Groups
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.