Skip to content
This repository has been archived by the owner on Apr 4, 2024. It is now read-only.

period is not working for jquery #34

Open
mahi2net opened this issue Dec 25, 2017 · 0 comments
Open

period is not working for jquery #34

mahi2net opened this issue Dec 25, 2017 · 0 comments

Comments

@mahi2net
Copy link

Can't we use it without knockoutjs ?

When I am passiing period, it is not working
$(".daterangepicker-field").daterangepicker({
forceUpdate: true,
period: ('day' | 'week' | 'month' | 'quarter' | 'year'),
periods:'quarter',
single:true,
callback: function(startDate, endDate, period){
var title = startDate.format('L') + ' – ' + endDate.format('L');
$(this).val(title)
}
});

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant