You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Error: NG0950: "Input is required but no value is available yet." Give the input name to the error message #60199
Which @angular/* package(s) are relevant/related to the feature request?
core
Description
At he moment the error reads as follows:
Error: NG0950: Input is required but no value is available yet. Find more at https://angular.dev/errors/NG0950
error properties: Object({ code: -950 })
at ...
Proposed solution
Just add the input name or its alias to the error message, for example:
Error: NG0950: Input ("requiredInputName") is required but no value is available yet. Find more at https://angular.dev/errors/NG0950
error properties: Object({ code: -950 })
at ...
I've looked at the code seems that the function for the input does not know the name of the input ( correct me if I'm wrong ), there is a debugName however that is used for the devtools extension. Would adding this debugName in the error message solve this issue?
Activity
JelleBruisten commentedon Mar 5, 2025
I've looked at the code seems that the function for the input does not know the name of the input ( correct me if I'm wrong ), there is a debugName however that is used for the devtools extension. Would adding this debugName in the error message solve this issue?
fix(core): include input name in error message
fix(core): include input name in error message (#60404)
fix(core): include input name in error message (angular#60404)
angular-automatic-lock-bot commentedon Apr 17, 2025
This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.