Open
Description
When using the "Embedded Entities" edit form, the field.template(x)
function works fine to set a custom value template, but the field.template(x, true)
function appears to have no effect.
To reproduce:
-
open this Plunkr demo: http://plnkr.co/edit/YeOBmuIqqAGEcBGINtIw?p=preview
-
click on "John" on the dashboard
-
click "add new children"
-
I have added the following fields to "user" and "child" (see script.js lines 45 - 58)):
nga.field('custom value template') .template("custom value text"), nga.field('custom row template') .template("custom row text", true),
Expected behaviour:
I'd expect both the "user" form and the "child" form to have:
- one row which has a label "custom value template" and a value "custom value text"
- one row with just the text "custom row text" (no label)
Observed behaviour:
The user form has the above behaviour, but the child form has:
- one row which has a label "custom value template" and a value "custom value text"
- one row with a label "custom row template" and a text box