DubFriend / jquery.repeater

Create a repeatable group of input elements
MIT License
389 stars 191 forks source link

How to use datepicker in repeater #132

Open pritom-dip opened 4 years ago

pritom-dip commented 4 years ago

How can i use datepicker under the repeater. I am trying to use the datepicker but i couldn't do it

asimp51 commented 3 years ago

Something like this

show: function () { var params = [this]; $(this).find("input[id='id of your textbox']").datepicker({

            });

}

csevivek commented 1 year ago

//try this one .. this.DateLoading = function(){

    $('.date').daterangepicker({
        singleDatePicker: true,
        autoUpdateInput: false,
        showDropdowns: true,
       locale: {
           format: date_format,  

        }
    });

    $('.date').on('apply.daterangepicker', function(ev, picker) {
        $(this).val(picker.startDate.format(date_format));
    });

};