You need to sign in to do that
Don't have an account?
Lucas Isla
How to disable input caching on ui:inputDate
Hi,
I currently have a lightning component with a form that includes a ui:inputDate. It seems that this input is showing cached values, which appear over the date picker calendar when first clicking into the empty input:
Is there anything I can do to disable this feature? I don't believe there is an attribute on ui:inputDate that can achieve this.
Thanks!
I currently have a lightning component with a form that includes a ui:inputDate. It seems that this input is showing cached values, which appear over the date picker calendar when first clicking into the empty input:
Is there anything I can do to disable this feature? I don't believe there is an attribute on ui:inputDate that can achieve this.
Thanks!
try this code,
<aura:attribute name="today" type="Date" default=""/>
<ui:inputDate aura:id="expdate" label="Today's Date" class="field" value="{!v.today}" displayDatePicker="true" />