facebook

When using a Pipe with ngFor, field values of iterable objects not recognized

  1. CodeMix & Angular IDE
  2.  > 
  3. Webclipse 1.x Help
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #528319 Reply

    CounterReset
    Participant

    When using a Pipe with ngFor, it seems the field values of the object type I am iterating over are not recognized. Once the Pipe is removed, the IDE recognizes them fine. The code runs fine, but cannot seem to alleviate this issue and would like to correct my execution if it is incorrect somehow.

    Also, I have a Directive that is attached to a button linking the innerHTML to a variable “statusMessage”

    [innerHTML]=”statusMessage”

    “statusMessage” highlights as “not defined”

    <button type=”button” class=”btn” appButtonStatus [(stbStatus)]=”stb.status” (click)=”statusBtn(i, stb)” [innerHTML]=”statusMessage”></button>

    in the Directive it is the binding is structured as such:
    @HostBinding(‘innerHTML’) statusMessage: String;

    #528403 Reply

    support-swapna
    Moderator

    CounterReset,

    I could replicate the problems you reported at my end. I have filed a bug for the dev team to investigate further. We will keep you posted about the fix schedule.

    Apologies for inconvenience caused. Thank you for reporting them.

    –Swapna
    MyEclipse Support

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: When using a Pipe with ngFor, field values of iterable objects not recognized

You must be logged in to post in the forum log in