Text not displaying after form fields
See original GitHub issueI’m submitting a…
[ ] Regression (a behavior that used to work and stopped working in a new release)
[x] Bug report
[ ] Feature request
[ ] Documentation issue or request
[ ] Support request => Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question
Current behavior
In the attached project, the login page contains some text in a span tag with a class of error. This uses {{errorMessage}} field defined in login.component.ts and assigned a value.
This field does not display as is. Comment out the two input fields ahead of it and it will suddenly show up.
Expected behavior
The error message field should display always
Minimal reproduction of the problem with instructions
I have attached a minimal demo
What is the motivation / use case for changing the behavior?
It should work right.
Environment
Ubuntu/Firefox
Angular version: Latest
Browser:
- [ ] Chrome (desktop) version XX
- [ ] Chrome (Android) version XX
- [ ] Chrome (iOS) version XX
- [X
] Firefox version XX
- [ ] Safari (desktop) version XX
- [ ] Safari (iOS) version XX
- [ ] IE version XX
- [ ] Edge version XX
For Tooling issues:
- Node version: XX
- Platform:
Others:
Note that I have deleted the e2e and node_modules directories to save space. login-test.zip
Issue Analytics
- State:
- Created 6 years ago
- Comments:17 (9 by maintainers)
Top Results From Across the Web
HTML form input text not showing - css - Stack Overflow
Whenever I select the text box, it glows but it does not accept text. I know there's something wrong with my CSS, but...
Read more >instructional text not showing in fill-in form - Microsoft Community
I created a form and entered text form fields. I clicked on the property of the field and clicked on Add Help Text....
Read more >Form not displaying all contents - Jotform
I have the form working but when I view the form on my iphone, all fields show except for SUBMIT and CLEAR button...
Read more >PDF fillable form not displaying field data
The PDFs show properly when previewing in Outlook, but once you open the PDF in Adobe Acrobat STD or Pro the fields no...
Read more >Chapter 18 Forms and Form Fields - Eloquent JavaScript
The "change" event for a text field does not fire every time something is typed. Rather, it fires when the field loses focus...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
You haven’t declared
credentials
to be an object though, so it’sundefined
inngOnInit
.Anyhow, this isn’t Angular’s fault, and so this is a support request instead of a bug report. If you’re still having trouble figuring this out, please open an issue on StackOverflow and close this.
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.