Skip to content

Allow 0 as Input #117

@robinrossow

Description

@robinrossow

Hey, thanks for the nice library.

I can't seem to figure out how to actually have 0 as the v-model value when I'm initially loading my form.
The input is just an empty string but it will display the 0 value correctly once I've blurred it.

This behavior messes with my validation since it won't allow an empty string but will allow a 0.

Is there any way to correctly display the 0 when loading the input? Thanks!

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