We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
we have such definition for range selector. Range Selector that make sure 'to' date is after 'from' date and also 'from' is before 'to' date.
var to, from; to = $(".range-to-example").persianDatepicker({ inline: true, altField: '.range-to-example-alt', altFormat: 'LLLL', initialValue: false, onSelect: function (unix) { to.touched = true; if (from && from.options && from.options.maxDate != unix) { var cachedValue = from.getState().selected.unixDate; from.options = {maxDate: unix}; if (from.touched) { from.setDate(cachedValue); } } } }); from = $(".range-from-example").persianDatepicker({ inline: true, altField: '.range-from-example-alt', altFormat: 'LLLL', initialValue: false, onSelect: function (unix) { from.touched = true; if (to && to.options && to.options.minDate != unix) { var cachedValue = to.getState().selected.unixDate; to.options = {minDate: unix}; if (to.touched) { to.setDate(cachedValue); } } } }); <div class="range-from-example"></div> <div class="range-to-example"></div>
but all the time it shows current datetime by default which I want to show a specific day. I am looking forward a way to set wanted day.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
we have such definition for range selector.
Range Selector that make sure 'to' date is after 'from' date and also 'from' is before 'to' date.
but all the time it shows current datetime by default which I want to show a specific day.
I am looking forward a way to set wanted day.
The text was updated successfully, but these errors were encountered: