79094647

Date: 2024-10-16 15:02:43
Score: 3
Natty:
Report link

We are using same pattern suggested by Thomas above. It works when the component property names are same as the one declared in the target modal.

This works: @Input() propertyName: any;

If you want to rename, you would need to use an Input "alias:" (see https://angular.dev/api/core/Input)

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • User mentioned (1): @Input
  • Low reputation (1):
Posted by: Chris