question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Text not displaying after form fields

See original GitHub issue

I’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:closed
  • Created 6 years ago
  • Comments:17 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
skreborncommented, Jan 18, 2018

You haven’t declared credentials to be an object though, so it’s undefined in ngOnInit.


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.

0reactions
angular-automatic-lock-bot[bot]commented, Sep 13, 2019

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found