Skip to content

Bug: date input doesn't work on 2.2.0 #436

@Kize

Description

@Kize

Hi there,

I noticed a bug on the last release of your plugin.

On 2.1.1, the input type='date' works perfectly, it can be tested on this fiddle

On 2.2.0, vue-form-generator uses a valueAsDate property of the input, which returns a timestamp instead of a string (YYYY-MM-DD), which breaks the input. (See the console warning after the onBlur event, it specifies that a timeStamp is given)

The bug can be reproduced on this fiddle. The input resets itself on blur.


It seems to come from #363, but I'm not sure of it...

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions