Browse documentation

v-money

Concept. Formats money input and stores minor units.

Table of contents

Category

Concept

Public signature

ts
JSX directive: <input v-money={{ model, field, currency, locale, decimalPlaces }} />

Runtime behavior

v-money formats the input from minor units, writes parsed minor units to model[field] on input and then calls an existing oninput handler.