@nylira/vue-form-msg

Form input error and desc component for Vue 2.
3,472
Install
npm install @nylira/vue-form-msg
Latest Version:1.0.3
License:MIT
Last Updated:Feb 22, 2017
Links: GitHub  ·  npm
Maintainer: nylira

vue-form-msg

Form input errors and descriptions for Vue 2.

Installation

npm install @nylira/vue-form-msg

Usage

<template>
  <form-msg name="Display Name" type="required" v-if="!$v.fields.displayName.required"></form-msg>
  <form-msg name="Display Name" type="length" min="2" max="20" v-if="!$v.fields.displayName.menLength || !$v.fields.displayName.maxLength"></form-msg>
</template>

<script>
  import FormMsg from '@nylira/vue-form-msg'
  export default {
    components: {
      FormMsg
    }
  }
</script>

<style>
  .ni-form-msg {
    font-size 1.25rem;
  }
</style>

Props

TODO! For now, read the ./src/index.vue file.

Related Packages

@odyzeo/form-item

Odyzeo form item component with Vue

3,288 1
vue-mask-next

vue-mask-next: Empower your Vue 3 applications with effortless input field maski...

55,713 14
vue-input-only-number

Vue 2.x input only number directive.

6,453 4
v-validate

Input validation for Vue

1,283 10

Version History

Version Released License
1.0.3 MIT
1.0.2 MIT
1.0.1 MIT
1.0.0 MIT