1.0.2 • Published 6 years ago

meta-select-mixin v1.0.2

Weekly downloads
6
License
ISC
Repository
gitlab
Last release
6 years ago

meta-select-mixin

pipeline status coverage report

Installation

npm install --save meta-select-mixin

You also have to inject a validator instance into your Vue application:

src/main.js

import VeeValidate, { Validator } from 'vee-validate'

# Optional language package
import ptBR from 'vee-validate/dist/locale/pt_BR' 
Validator.addLocale(ptBR) # Optional

Vue.use(VeeValidate, {
  inject: false,
  locale: 'pt_BR',
  fieldsBagName: 'validationFields',
})

Props

ParameterTypeRequiredDefaultDescription
attrIdstringfalseid
attrLabelstringfalselabel
classesobjectfalse{}
defaultstringfalse
disabledbooleanfalsefalse
idstringtrue
labelstringtrue
namestringtrue
optionsarraytrue
readonlybooleanfalsefalse
requiredbooleanfalsefalse
validationsobjectfalse{}Validations applied by vee-validate

Build Setup

# install dependencies
npm install

# serve with hot reload at localhost:8080
npm run dev

# build for production with minification
npm run build

For detailed explanation on how things work, consult the docs for vue-loader.