Skip to content
This repository was archived by the owner on Dec 16, 2019. It is now read-only.
This repository was archived by the owner on Dec 16, 2019. It is now read-only.

When selecting date I get in my input element text [object Object] instead of the actual date range #124

@dimitriosd1983

Description

@dimitriosd1983

I believe issue is in line 109 of the file:
ngModel.$render();

If I replace that with the content of ngModel.$render = function()

if (!ngModel.$viewValue || !ngModel.$viewValue.startDate) {
return;
}
$element.val(formatted(ngModel.$viewValue));

then it works fine

daterangepicker-issue

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions