All Questions
Tagged with datepicker javascript
5,219
questions
0
votes
1
answer
34
views
Change javascript date with a timezone
I'm using Vue and I have this vue2-date-range-picker
<date-range-picker ref="picker"
:class="[dateHasChanges ? 'daterange-picker-highlighted' : '']&...
0
votes
0
answers
17
views
How to clear/erase the input value when using jquery datepicker and the input is readonly
I have an input that as soon as the value is chnaged it submits the value and is saved in our database, therefore we can only allow date format values, and the best tool is using datepicker with a ...
0
votes
0
answers
25
views
How to add an extra class on highlightedwhich is added by highlighted props vuejs3-datepicker
I am using import Datepicker from 'vuejs3-datepicker';
and I am using highlighted props to highlight specific dates but I want to color highlighted dates with different color but 'vuejs3-datepicker' ...
1
vote
0
answers
38
views
Date picker input width with React Native Paper Dates
I want to add a DatePickerInput in my react native project using React Native Paper Dates.
It seems to work fine but I cannot adjust the width of the input.
<DatePickerInput
...
0
votes
0
answers
25
views
Gijgo Datepicker Date with two digit Year converted to 20th Century
I am using Gijgo Datepicker in my website, my requirement is to show 2 digit year, and I changed the format to 'dd/mmm/yy' which is working fine, but when I select a date i.e. 1 Jan 1990 and reopen ...
0
votes
0
answers
28
views
TypeError: option timepicker is not recognized! it is shown
<script type="module">
document.addEventListener('DOMContentLoaded',function(){
var calendarEl = document.getElementById('calendar');
var calendar = new ...
-1
votes
0
answers
49
views
Repurpose DatePicker from react-dates dynamically
I want to be able to repurpose DatePicker component from react-dates dynamically. This can be based on some configurable parameter.
e.g.
for Scenario 1, I want the DatePicker to act as a proper date ...
1
vote
0
answers
22
views
I want to write a function for React native datepicker so that i can restrict user to select to select "FromDate" higher than "ToDate" and vice-versa
const [date, setDate] = useState(new Date());
const [openToDatePicker, setOpenToDatePicker] = useState(false);
const [openFromDatePicker, setOpenFromDatePicker] = useState(false);
const [fromDate, ...
0
votes
0
answers
14
views
bootstrap datepicker not showing date dropbox
I have the following script that works fine:
<head>
<title>DateTimepicker</title>
<!-- Include Bootstrap CDN -->
<link href=
"https://maxcdn.bootstrapcdn....
0
votes
1
answer
49
views
Livewire event with datepicker
I have below code for Livewire component view, where i am dispatching event with startDate and endDate,
I can get correct data in my Dashboard, but problem is once re-render happens after disptach, ...
1
vote
1
answer
72
views
Angular getLocaleFirstDayOfWeek('en-FR') returns 0 (Sunday) as the start day of the week where as it returns 1 (Monday) for en-NL
I need to show the start day of the week based on locale and customise the date picker to show the week days. Since NativeAdaptor always returns Sunday as the week start day, a custom adaptor is ...
2
votes
1
answer
84
views
Why doesn't it recognize any selections on the datepicker?
I'm trying to populate a select dropdown with the hours that don't have appointments booked, and right now I'm experiencing somethin really dumb with datepicker, because I want it to be populated ...
0
votes
1
answer
33
views
Mat Date picker sending the incorrect date
I have this input for selectin date
<mat-form-field class="w-full">
<mat-label>{{ "DATE" | translate }}</mat-label>
...
0
votes
1
answer
43
views
How to hide the react-datepicker header?
I'm trying to hide the header in the react-datepicker. And from what I read it should just be the tag hideHeader. but it does not seem to be working for me.
according to this, the feature was added in ...
0
votes
0
answers
63
views
how to use Jalali date in ant design date picker Version 5
I am using ant design version 5 and I want to use a date picker. How can I use Jalaliday with ant design version 5. From my latest information there is antd-jalali for this purpose but I guess it is ...