Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

form tag makes variables not to be recognized in templates #315

Closed
RoyiNamir opened this issue Feb 13, 2019 · 3 comments
Closed

form tag makes variables not to be recognized in templates #315

RoyiNamir opened this issue Feb 13, 2019 · 3 comments

Comments

@RoyiNamir
Copy link

RoyiNamir commented Feb 13, 2019

Looking at a simple public variable which I have in the ts file :

  public displayMessage: { [key: string]: string } = {};

image

It is clearly shows that it doesn't recognize it.

I know about the hacks that So provies , making only truthy / falsy ngif's : (which hides the problem)

image

It does work, but let's revert the code for now.

I think it's related to the FORM tag. Look what happens if I remove the form tag :

No errors & intellisense works :

image

I think there is a bug when a FORM tag appears.

Any solution ?

Version: 1.31.1 (user setup)
Commit: 1b8e8302e405050205e69b59abb3559592bb9e60
Date: 2019-02-12T02:20:54.427Z
Electron: 3.1.2
Chrome: 66.0.3359.181
Node.js: 10.2.0
V8: 6.6.346.32
OS: Windows_NT x64 10.0.17134

Extension version " 0.1.11"

@andrius-pra
Copy link
Collaborator

Duplicate of #126
There is a fix here: angular/angular#29811

@kyliau
Copy link
Contributor

kyliau commented Nov 25, 2019

Will track issue in #126

@kyliau kyliau closed this as completed Nov 25, 2019
@angular-automatic-lock-bot
Copy link

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.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Feb 18, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants