You can now do {{ form.composite_field.child_field }} to access the
child fields of the composite field in the template, to render them in
what ever arrangement you want.
{{ form.composite_field.id_for_label }} returns the ID for the first
field in the composite field.
Fields stay populated when a validation error occurs.
You can now do
{{ form.composite_field.child_field }}
to access the child fields of the composite field in the template, to render them in what ever arrangement you want.{{ form.composite_field.id_for_label }}
returns the ID for the first field in the composite field.Fields stay populated when a validation error occurs.