Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@mutt/widget-financial

Package Overview
Dependencies
Maintainers
13
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mutt/widget-financial

Mutt Forms Widget - Financial number Input

  • 2.0.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
13
Weekly downloads
 
Created
Source

Mutt Forms Widget - Financial

Mutt Forms Vue widget for entering a currency value

Field Options

The financial widget accepts the following options:

optiontypedescriptiondefault
minStringThe minimum number allowed'0'
maxStringThe maximum number allowednull
stepStringThe default increment when using the up/down keys'1'
currencySymbolStringHTML encoded currency symbol'£'
currencyStartBooleanWhen true the currency symbol is placed to the left of the input field. When false it is placed to the righttrue

Complete Example

The following example sets the min and max to 0 and 2500 respectively, the step to 10, the currency symbol to the Euro, and the currency position to the right of the input.

value: {
  label: null,
  max: '2500',
  min: '0',
  step: '10',
  natural: {
    allowZero: true,
    prefix: 'I paid €',
    suffix: '.',
    title: 'How much did you pay?',
    trigger: '',
  },
  currencySymbol: '€',
  currencyStart: false,
  widget: 'naturalfinancial',
},

Keywords

FAQs

Package last updated on 15 Dec 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc