Skip to content

Placeholder shown instead of value #65

@jeroenschieven

Description

@jeroenschieven

Expected Behavior

Given you have the following vue-numeric component:

<vue-numeric v-model="value" placeholder="placeholder" /> 

If value is set, I would expect to see the value. Just as described in the documents:

Input placeholder when empty

Actual Behavior

When component is mounted, the value is not shown until you click on the input field. The placeholder is shown instead.

Steps to Reproduce the Problem

See example in codesandbox: https://codesandbox.io/s/v821j799wl

Specifications

  • Plugin Version: 2.3.0
  • Vue.js Version: 2.5.2
  • Browser: Firefox Dev. 60.0b12
  • OS: macOS 10.13.3

In #39 you said it was intended to work like this, can you explain the reason for this?

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