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

@mutt/widget-personnummer

Package Overview
Dependencies
Maintainers
7
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mutt/widget-personnummer

Mutt Forms Widget - Swedish Personnummer Input

  • 2.1.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
decreased by-66.67%
Maintainers
7
Weekly downloads
 
Created
Source

Mutt Forms Widget - Personnummer

Mutt Forms Vue widget for Swedish Personnummer lookup.

It is designed to be integrated with https://www.ratsit.se/.

Field Options

This ssn options accepts the following properties:

PropertyTypeRequiredDefaultDescription
hostStringtruenullProvider API host
usernameStringtruenullUsername for the provider API
passwordStringtruenullPassword for the provider API
templateStringfalse'{givenName} {lastName}'Template used to display a search result referencing object properties in the returned result
requiredFieldPathsString[]falsenullAn array of field paths to check for values in the returned search result
minimumAgeNumberfalsenullThe minimum age in years

Complete Example

{
  "field_name": {
    "widget": "personnummer",
    "ssn": {
      "host": "https://example.com/ssn-lookup",
      "username": "username",
      "password": "password123",
      "template": "{ssn} - {givenName} {lastName}",
      "minimumAge": 18
    }
  }
}

Field Events

  • ssnSelect: Emitted when the value has been entered and the detail confirmed
  • ssnClear: When the value is changed/cleared
  • toggleOverlay: Natural language form support
  • ssnRequiredFieldsMissing: When requiredFieldPaths are specified and are missing values

i18n Support

The widget has i18n support via the Vue i18n Plugin or any other tools that expose a $t function to translate strings.

Keywords

FAQs

Package last updated on 20 Nov 2019

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