src-zone/material

Console error when using mdcList directive with nonInteractive property

AXeL-dev opened this issue · 5 comments

Hello,

I just wanted to report the following console error when using mdcList directive with nonInteractive property:

image

My source code was taken from https://blox.src.zone/material/components/list, below a short part of it:

<ul mdcList [nonInteractive]="true">
  <li mdcListItem>
    <i mdcListItemGraphic class="material-icons">share</i>
    <span mdcListItemText>
      Proxy
      <span mdcListItemSecondaryText>Used to bypass CORS limitations on browsers</span>
    </span>
    <div mdcListItemMeta mdcSelect>
      <select mdcSelectControl [(ngModel)]="settings.proxy.url">
        <option *ngFor="let proxy of getProxies()" [value]="proxy.url">{{ proxy.name }}</option>
      </select>
      <label mdcFloatingLabel></label>
    </div>
  </li>
  ...
</ul>

The non interactive effect seems to work but i always keep getting the console error (when used inside a *ngFor loop, it keeps printing a bunch of console errors).

Also, down below my dependencies versions:

image

Thanks.

I will have a look into this next friday.

Sorry, friday was a bit busy. I just committed the likely fix. If the builds succeed I will merge to master, so then you can check the master branch. Or wait for the next release, but that will probably be the end of this week.

Should be fixed in the master branch. If you could confirm the fix, that would be nice. Otherwise we will publish a patch release from that branch later this week.

I've already patched my node_modules as a temporary workaround, so yeah it's working:

image

But i'll wait for the patch release of this week so i can get a definitive solution. Thanks!

Released in 0.18.1