Hey Developers, As you have completed the day 1 and have some basic idea of Salesforce Lightning Development. We are going to learn the below points in today’s session
- Introduction to Aura Framework
- Introduction to Component Library
- Introduction to SLDS
- Style Your Lightning Component
- Introduction to Lightning Base Component
- Create a Simple Component for Percentage Calculator using Lightning Base Component only (Without Using Client Side JavaScript Controller)
Hi Amit,
I am getting an issue whereby the value is not updating as and when the value in the input box changes. Please suggest. I am using the same code which you have shown in the video.
Thanks!
What code are you using?
PercentageCalculator.cmp
{!v.wholeNumber.Name}
In this complete code?
However, your code should be {!v.wholeNumber}
I have emailed you the code, please check and revert.
{!v.wholeNumber.Name}
should be replace with
{!v.wholeNumber}
I have also replied to you in your previous comments
Tried with {!v.wholeNumber} but it still does not show up any value when i enter the value in the input box.
Check the spelling of value in your code for input tags. you are using vaue instead of value.
it should be value=”{!v.wholeNumber}”
That worked like a charm! Thanks a lot Amit. I really appreciate your help. I still wonder how the lightning tag with the incorrect spelling of the attribute did not throw an error.
Salesforce is not responsible for everything. That’s why developer is needed to develop an app.