0

I have created the custom lightning component named “TestComponentWithHTML”. But while adding this component to the lightning record page named “Test with HTML Tags”, I’m getting error and component is not added. I created the page using lightning app builder

enter image description here

The code in lightning component is:

<aura:component implements="flexipage:availableForAllPageTypes,flexipage:availableForRecordHome,force:hasRecordId" access="global">
Hello World
<p>Hello in para</p>
<br/>
<lightning:formattedText value ="Hello World in lightning component"/>

Bundle version settings:

enter image description here

Can you guys help please?

Thanks

5
  • Share your code. Issue looks like with lightningformattedText May 12, 2018 at 8:02
  • I have added the code @TusharSharma
    – Arun Kumar
    May 12, 2018 at 8:12
  • No complex code. Just I'm starting out with the lightning
    – Arun Kumar
    May 12, 2018 at 8:14
  • what is the API version you are using? May 12, 2018 at 8:39
  • I have shared the Bundle version settings.
    – Arun Kumar
    May 12, 2018 at 8:52

1 Answer 1

1

The code you have posted has (the correct) value attribute name but the error message has (an incorrect) values attribute name. Use that correct value attribute name.

0

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .