Missing attributes for Aura components

Issue #1245 resolved
Aidan Harding created an issue

IC is giving me warnings about incorrect attributes on Aura components, where those attributes do exist e.g.

<lightning:accordionSection title="{!thisTabAndComments.label}" label="{!thisTabAndComments.label}">

This says that label is not an attribute of lightning:accordionSection , but it is. See https://developer.salesforce.com/docs/component-library/bundle/lightning:accordionSection/specification

In fact, IC only seems to see title and class for accordionSection, so there are a few missing.

Another tab with this is aura:handler:

<aura:handler includeFacets="true" name="loadComments" event="c:MethodCallEvent" action="{!c.loadComments}" />

includeFacets is a valid attribute, but produces a warning. See https://developer.salesforce.com/docs/atlas.en-us.lightning.meta/lightning/events_component_bubbling.htm

Comments (4)

  1. Log in to comment