• JasonG
  • NEWBIE
  • 10 Points
  • Member since 2018
  • Junior Salesforce Developer
  • Dealerteam


  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 4
    Questions
  • 0
    Replies
Why is the label attribute required on the lightning:input? Is there a way to just use the placeholder instead of a label? What if I want the label to be the size of  of a header? Just curious why this label is required when It can really affect design?
  • February 09, 2018
  • Like
  • 0
I am trying to get the value of the aura:attribute in the js controller.
<aura:component>
  
  <aura:attribute name="falseValue" type="boolean" default="false" />
  
  <ui:button label="Log Value"  press="{!c.logValue}"/>

<aura:component>
js function
({    
  logValue : function(component, event, helper) {
        console.log(v.falseValue);
    }
})
What would I do to get the value false returned from the aura attribute.

 
  • February 07, 2018
  • Like
  • 0
 Why add a bunch of slds classes for a few features instead of make a custom class with the features I want.  Is there a reason for adding
<div class="slds-box slds-p-around_small slds-m-around_small">
  <!-- Stuff in Container -->
</div>
to a container div instead of making a custom class
<div class="container">
   <!-- Stuff in Container -->
</div>
and adding the css features I specifically want?  I made two similary looking forms one with slds only and one with custom classes and it seems easier to see what is going on to inspect one class and check the css styles instead of inspecting multiple slds classes to find the slds styles. What is best practice?
  • January 31, 2018
  • Like
  • 0
I removed a workflow action then wanted to recreate it. It will not let me  thought and throws an error that says the Unique Name already exists. What happens when I click remove? Can I bring it back? Can I delete the Unique name completely and recreate it? New so might need beginner instructions.Thank you.User-added image 
 
  • January 03, 2018
  • Like
  • 0