While writing my angular application, I got this "strange" error message:
The code runs perfectly fine and I couldn't find any documentation for this error message. What does it mean?
The code is from : https://stackoverflow.com/a/45144391/639035 which is an accepted answer with 15 up votes.
Code:
<input placeholder="TEST"
[ngModel]="phone_numbers && phone_numbers[0]?.full_number"
(ngModelChange)="phone_numbers?.length && phone_numbers[0].full_number=$event">
Error Message:
Must be lvalue
Must be lvalue