function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Leticia Monteiro Freitas 4Leticia 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>

User-added image

User-added image
Meghna Vijay 7Meghna Vijay 7
Hi,
Can you post the controller.js method?
Thanks