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

vue-form

Package Overview
Dependencies
Maintainers
1
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue-form - npm Package Compare versions

Comparing version 4.0.0 to 4.0.1

2

package.json
{
"name": "vue-form",
"version": "4.0.0",
"version": "4.0.1",
"description": "Form validation for Vue.js",

@@ -5,0 +5,0 @@ "main": "dist/vue-form.js",

@@ -140,9 +140,7 @@ # vue-form

```html
<form-error field="fieldName" error="errorKey" show="$dirty">Error message</form-error>
<form-errors field="fieldName" show="$dirty && $touched">
```html
<field-messages name="name" show="$dirty && $touched">
<div slot="errorKeyA">Error message A</div>
<div slot="errorKeyB">Error message B</div>
</form-errors>
</field-messages>
```

@@ -155,4 +153,7 @@

<template slot="required" scope="state">
<span v-if="state.$touched || state.$submitted">Name is a required field</span>
<span v-if="state.$touched || state.$submitted">Name is a required field</span>
</template>
<template slot="errorKeyB" scope="state">
<span v-if="state.$touched || state.$dirty">Error message B</span>
</template>
</field-messages>

@@ -159,0 +160,0 @@ ```

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