Skip to main content
New
Stack Overflow Jobs powered by Indeed: A job site that puts thousands of tech jobs at your fingertips (U.S. only). Search jobs

Questions tagged [date-picker]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
0 answers
49 views

How to change the fontsize of datepicker?

When I change the font size of the datepicker in CSS, the font icon mis-aligns. I've been reading about SLDS and how it uses CSS tokens to do styling, but I couldn't figure out how to change this. Any ...
Z0q's user avatar
  • 59
0 votes
1 answer
164 views

Help disabling calendar pop up

My client wants to use the date type on a lightning:input component, but wants the date picker calendar disabled. I have tried toying with the CSS, but that really isn't my strength. They're unwilling ...
user127622's user avatar
2 votes
0 answers
581 views

Multi select Date Picker - LWC component

I am working on an LWC component that requires a multi-select Date Picker. Currently I have created a date picker with out-of-the box date picker. But the out-of-the box Date Picker doesn't support ...
Avin Babu Pattathy's user avatar
0 votes
1 answer
524 views

Is it possible to use lightning-input as button-icon that display calendar above?

I have standard lwc lightning-input type="date" that looks like this: And what I want to do is a button icon with the same functional, but without input field, just button with dropdown ...
Max Sh's user avatar
  • 1
0 votes
1 answer
4k views

How can I set the actual date as a min value to my lightning-input datepicker?

I am trying to set the actual date (today) as a minimum value to my date picker, using LWC. I can't make it work, as I get a component error message that "today is not defined". HTML <...
Klosmi's user avatar
  • 3
0 votes
1 answer
3k views

Disable a date range in lightning datepicker

I am trying to add a lightning datepicker on visualforce by using this <lightning-input type="date"/> component. It works fine and it shows the calendar but now I want to allow the ...
Ricky's user avatar
  • 101
1 vote
2 answers
2k views

Lightning DatePicker Displaying Outside of Modal Pop-up Form

I have a modal form appearing on a button click. Basically just setting the flag to true and the modal is rendered (it's always on the page). The modal contains multiple fields, one of which is the ...
Walker's user avatar
  • 21
2 votes
0 answers
196 views

Calendar's last column is over flowing in lightning-input type=date LWC

I have a lightning web component added on a Visualforce page in community through aura dependency app. My component is inheriting styling from Visualforce page which is causing several problems. One ...
Tiyyab Ahmed's user avatar
0 votes
0 answers
382 views

LWC date input not displaying properly

I am facing a issue with lwc input for date. the date picker dropdown is not displaying properly it is being cutout by windows taskbar. I want to display this date picker at top of the field instead ...
Bilal Malik's user avatar
0 votes
1 answer
343 views

How to set controller date in test class

how to set a date in the test class, Thanks in advance. visual force page: <apex:page controller=IntegrationController" docType="html-5.0"> <apex:outputPanel > ...
Sriram's user avatar
  • 51
0 votes
1 answer
883 views

How to pass input of date picker to controller

Since I have been looking for a date picker which I can format on a visualforce page for a foce.com site I found that salesforce is very limited. I found the following example which I can format and ...
Thomas's user avatar
  • 2,298
0 votes
1 answer
195 views

Call a toast event in the Lightning Web Component date selector

Hi I have req where user select the date after the maximum date then i need to show the error toast message in saledforce LWC , can anyone help me out for the req. Below is the code let today = new ...
Tisca's user avatar
  • 3
1 vote
1 answer
819 views

Collecting birth dates in an Interactive Email Form Block

I'm really excited about the possibility to let subscribers submit data directly in a mail. https://help.salesforce.com/articleView?id=mc_ceb_create_create_an_interactive_email_form.htm&type=5 I'...
Felix Sanchez's user avatar
0 votes
1 answer
68 views

Chrome Displays two Calendars in Date Field

I have an unusual problem with one of my users using Chrome. When he goes into a Date field in Salesforce using a Chrome Browser, he is presented with a calendar and previously entered dates. We ...
thinker's user avatar
  • 1,430
0 votes
1 answer
4k views

lwc convert date from text to lightning-input of type date

I have a component which is displayed in a custom data table column for a text field having date value. By default text value dueDate along with Edit icon gets displayed. When the edit icon gets ...
Walker's user avatar
  • 2,365
0 votes
1 answer
3k views

Date range query from lwc to Apex

I have this method getFarmData being called from LWC @AuraEnabled(cacheable=true) public static List<RecordWrapper> getFarmData(String listView, Integer Count) { if (...
SunnyG's user avatar
  • 421
4 votes
1 answer
463 views

Aura localizationservice: broken format/parse with some locales

We're having an issue with a custom-build form date input component. The component formats Javascript date objects into user-friendly strings for user display/input, i.e. "5 May 2019", and then parses ...
MLucci's user avatar
  • 1,098
1 vote
2 answers
9k views

Using LWC Component blueprint for custom date picker

Salesforce's date picker only allows you to select 1 date, but I want a date range picker. I found that the SLDS component blueprints seem to have static code for one here, but was wondering if ...
xkk1357's user avatar
  • 61
0 votes
1 answer
399 views

Datepicker not working on Visualforce Page When standardStylesheets="false"

I want to disable standard stylesheets for a Visualforce page, but when I disable it, apex:inputfield does not provide date picker for date fields. <apex:page standardcontroller="Opportunity" ...
Rahul Gawale's user avatar
  • 12.2k
2 votes
1 answer
3k views

onChange event is not fired for lightning:input type="datetime" when clear Time field

I have the following component: Example.cmp <lightning:input aura:id="field" type="datetime" name="datetimeInput" label="Set up a date/time" ...
Eduard's user avatar
  • 5,139
0 votes
1 answer
4k views

LWC: Anyone managed to get a Datepicker/calendar JS library to work in LWC? [closed]

I have tried 3 libraries now - datepickk: doesn't load - FullCalendarJS: the main libray loads and works but NO plugin could be loaded so useless - lightpick: loads but no feature works. Clicking a ...
LaurentD's user avatar
0 votes
1 answer
1k views

Setting limit into Datepicker

I am presently using the following command to select date by the datepicker:- <ui:inputDate aura:id="startdate" format="MM/DD/YYYY" class="field" value="{!v.StartDate}" displayDatePicker="true" /&...
Rivu Indra's user avatar
1 vote
1 answer
3k views

Custom field datetype with month and year only

I'm trying to credit a custom field which only need month and year (like credit card exp date) I choose datetype date, when creating the field, but it also needs a date as well. How can I create a ...
Logan H's user avatar
  • 71
0 votes
1 answer
845 views

When I am trying to select December 31 from date picker built in Appiphony Lightning JS (ALJS), I am getting wrong value, as below case

Scenario 1: When I select input date Day: 1 Month: March Year: 1996 Expected result = 01/03/1996 Scenario 2: When I select input date - 31/12/1995 from the January Calendar of year 1996 Day: 31 Month:...
SHAAN's user avatar
  • 3
5 votes
2 answers
4k views

Lightning Input datetime prevent value issue

I am using a lightning:input to get a date/time value in the users Locale. If the user picks a date that is beyond today I need to prevent that value from being entered. I am able to catch this ...
Eric's user avatar
  • 54.2k
0 votes
1 answer
2k views

<apex:input type="date" /> Not displaying date picker in Internet Explorer

<apex:input type="date" styleClass="input-text-center" value="{! data.offerDate }" rendered="{! IF( AND( data.isField = true, data.isDateField = true ) , ...
JURY's user avatar
  • 183
-3 votes
1 answer
240 views

Can we disabled sunday in salesforce datepicker? [closed]

How disable Sunday in salesforce standard datepicker??
Harish's user avatar
  • 63
2 votes
1 answer
739 views

VisualForce Datepicker

When I use <apex:inputField value="{!DateOfBirth}" label="Date of birth"/> I can not pick privious year How I can pick 1960 year
Taras Oleksiuk's user avatar
0 votes
1 answer
461 views

Date parsing issue - Invalid date

The visualforce page uses a date picker which should show data only on dd/MM/yyyy format. When selecting the date and clicking save button, the date string is parsed using Date.parse and the date is ...
Vetriselvan Manoharan's user avatar
1 vote
1 answer
7k views

lightning:input (date) change format to dd/mm/yyyy

The lightning input field has an attribute "pattern". What pattern should i use? I've already tried "mm/dd/yyyy" but it doesn't work.
SamuelDev's user avatar
  • 790
0 votes
1 answer
387 views

<apex:slds /> against static resource

I'm using SLDS datepicker on my VF page. I tried <apex:slds /> at the first place to load utility-sprite event icon to click and load the calendar. But it didn't load properly. Then i switched ...
L Mudiyanse's user avatar
6 votes
2 answers
2k views

How can we fix the Lightning Component ui:inputDate DatePicker position?

I'm in need of implementing a lightning component that includes ui:inputDate component with displayDatePicker=true. The component is mainly only for sidebar purposes in Lightning Page. But when I ...
VarunC's user avatar
  • 5,950
1 vote
1 answer
683 views

Z-Index Issue : Datepicker window overridden by pie chart background

I have a requirement to show data in pie chart, based on User input date range. I have already achieved that, but my date selection window is overridden by the background of the pie chart.Is there ...
user3919803's user avatar
3 votes
2 answers
1k views

Lightning datepicker for visualForce page

I have a field with date/time dataType and using that field in VF page, initially date picker was not visible then changed standard stylesheet = "true" (is this the only option) and everything works ...
SFDC's user avatar
  • 461
-1 votes
1 answer
263 views

Is it possible to remove today's date next to date field without customization?

I have one Date of birth field and it is showing today's date link next to text box. Is it possible to remove without doing any customization?
Subba Salesforce's user avatar
1 vote
1 answer
2k views

Restricting ui:inputDate to take '//'

ui:inputDate also takes '01//08//2011' as ' 01/08/2011' Is there any way of restricting ui:inputDate to take any value other than dd/MM/yyyy format when entered manually. Or Is there any way to ...
Shri's user avatar
  • 147
1 vote
2 answers
790 views

ui:inputDate updating error

<aura:attribute name="dueDate" type="Date"/> <aura:attribute name="dueDateString" type="String"/> <aura:handler name="change" value="{!v.dueDate}" action="{!c.dueDateChanged}"/> <...
Surya Chandra Rao Gandreddi's user avatar
0 votes
1 answer
1k views

Binding input to a hidden variable with JS

I've got a datepicker attached to an input text, and I need to make the text value available to my apex variable "LaunchDate." It's not binding. I even tried putting onfocus="SetLaunchD()" in the ...
J.W.'s user avatar
  • 21
0 votes
1 answer
903 views

InputText for capturing Date field

I have a Date (Completed_Date) field in my Timesheet object which I want the users to be able to update and Save after a Timesheet is submitted. I have been able to pass the field from Controller to ...
Maneesh's user avatar
  • 2,176
-3 votes
2 answers
2k views

VF page Datepicker position Issue for ScrollableTable [closed]

On our page we have a scrollable table with date input fields. However, whenever we scroll the table up and down and select date input field, the date picker pops up in the position where the table ...
Sam's user avatar
  • 21
2 votes
1 answer
504 views

Auralocalizationservice error after summer '17 update

I have a date picker that is custom built by using static resources in lightning component. This is already existing and working fine. since the summer 17 update, it started throwing the error "...
Anurag's user avatar
  • 2,236
5 votes
3 answers
759 views

Rendering date picker in iteration takes extremely much time [FIXED IN SUMMER 17]

I have iteration in my component. Each item in iteration is table row with few inputs for text and 2 ui:inputDate. When I have many items in array, it takes very long for component to load. In ...
Vladyslav K's user avatar
  • 2,743
1 vote
1 answer
253 views

DatePicker on Visualforce in HTTPS not using standard style

I've inherited an externally facing form which has a date field on it that pulls up a date picker when selected. We are converting to HTTPS and since the whole page is totally custom, the standard SF ...
De'Anna's user avatar
  • 140
0 votes
2 answers
263 views

Validate Datpicker Value

I have a Datepicker field in my VF Page <apex:pageBlockSectionItem > <apex:outputLabel value="Dealer Purchase Date"/> <apex:outputPanel styleClass="requiredInput" layout="block" ...
C. Praveenkumar's user avatar
1 vote
2 answers
1k views

Use a custom datepicker to get the value of date of birth in contact

The standard datepicker for "Date of Birth" field in Contact has a limited range of years available.It is unsuitable for capturing a contact's date of birth. I have used apex:input but how can I save ...
SFDC_CRM's user avatar
0 votes
3 answers
4k views

Custom Date picker in Lightning component

I'm trying to use Jquery Date Picker "https://jqueryui.com/datepicker/" in Salesforce Lightning Component. I've included required library files. It is working in Visualforce Page. But the same is ...
user10286's user avatar
  • 422
0 votes
2 answers
584 views

ui:inputDate select event not fired in firefox

i emplemented a ui:datepicker lightning component and the select event is not fired when i select a date but only on firefox, chrome run correctly my code. I've put a console.log in my controller ...
Thomas's user avatar
  • 3
1 vote
3 answers
3k views

Web to Lead, Date showing in Debug page, but not in the Lead

My contact for is using 2 date pickets, Check-in/Check-out dates. When I fill out the form the dates show fine in the debug page. I receive and email with a link to view the lead and the dates are ...
LukeD1uk's user avatar
2 votes
3 answers
4k views

DateTime Picker using SLDS

I want to display a Datetime picker using Lightning Design System. So far, I am just able to display Date picker using SLDS and Appiphony Lightning JS. More details : Date picker using Appiphony ...
Kshitij Shah's user avatar
0 votes
1 answer
3k views

How to change input date format to mm/dd/yyyy?

Currently I am using the following tag in vf page to choose date.But it displays in dd/mm/yyyy format.How to convert it to mm/dd/yyyy format <apex:inputText value="{!datevalue}" size="10" id="...
Priyalakshmi's user avatar
  • 1,456