79728226

Date: 2025-08-07 07:53:03
Score: 1
Natty:
Report link

Solution

I included the select attribute to match the selected itemsPesPage() value which is now an input. So the parent component is the one that updates the value rather than the child component

<option [value]="size" [selected]="size === itemsPerPage()">{{size}}</option>
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: kibet