Skip to content

Feature Request: getUnformattedValue #13

@philharmonie

Description

@philharmonie

If I use

<input type="text" :value="price" @input="e => price = formatNumeral(e.target.value)"  />

and I want to do math with the price, I can't.

I'd love to see a getUnformattedValue method, that basically does something like input.replace(/[^\d.]/g, '').

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