0

Can I use NgModel for interaction of the components or use only inputs and events?

NgModel should only be used in forms?

ildarnm
  • 1
  • 1

1 Answers1

1

ngModel can be used when a ControlValueAccessor is provided for components. Angular provides ControlValueAccessor implementation for <input> elements out of the box.

Günter Zöchbauer
  • 623,577
  • 216
  • 2,003
  • 1,567