You need to sign in to do that
Don't have an account?
Leticia Monteiro Freitas 4
MessageBadInput doesnt work when I deploy the code.
I'm creating a component that uses a lightning input field that sets a messageWhenBadInput atributte. But when I deployed this code dosent work anymore.
<div class="slds-grid slds-gutters"> <div class="slds-col slds-size_3-of-12"> <div class="slds-p-left_xx-small" > <lightning:input aura:id="startDate" type="date" required="true" fieldName="startDate" label="Data início" value="{!v.dataInValue}" messageWhenBadInput="Sua entrada não corresponde ao formato permitido dd/mm/aaaa."/> </div> </div>
Can you post the controller.js method?
Thanks