Skip to content

Slice context #10

@behoyh

Description

@behoyh

Is your feature request related to a problem? Please describe.
I can't two way bind specific properties in objects that I assign to the context.

Describe the solution you'd like
Assuming I have this child template:

  <ng-template contextDisposer="message" let-context>
        <input [ngModel]="context.message" />
  </ng-template>

I'd like to be able to do this:

  <ng-template contextDisposer="message" let-context>
        <input [ngModel]="context.message.title" ... />
  </ng-template>

The reason being then only a singular object can be a context for similar but different components, engaging date pickers, sliders, and/or image uploads into a singular model. The components can manipulate their own slice of the object which is then shipped to the server.

Thanks for this awesome framework!!

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions