Skip to content

Daterange picker default value submitted as null #2621

@XaphanBael

Description

@XaphanBael
  • I have searched the issues of this repository and believe that this is not a duplicate.

Version

1.6.4

Environment

macOS Catalina 10.15.6, Chrome 84.0.4147.89, Vue 2.6.11

Reproduction link

Edit on CodeSandbox

Steps to reproduce

When creating a new Date range picker element, and providing it with a default value [moment, moment], the information is shown correctly in the range picker. However, when submitting the form, the value is null, until i manually select the range again.

What is expected?

Array of dates, based on the defaultValue specified in the element

What is actually happening?

Submitted value is null, until i manually select the range again.


I'm still rather new to vue, so maybe i'm missing something here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions