@nylira/vue-field

Flexible field, textarea, and select component for Vue.
7,710
Install
npm install @nylira/vue-field
Latest Version:1.5.0
License:MIT
Last Updated:May 31, 2018
Links: GitHub  ·  npm
Maintainer: nylira

vue-field

Flexible input, textarea, and select component for Vue 2.

Installation

npm install @nylira/vue-field

Usage

<template>
  <field v-model="email" placeholder="Enter your email"></field>
</template>

<script>
  import Field from '@nylira/vue-field'
  export default {
    components: {
      Field
    },
    data () {
      return {
        email: ''
      }
    }
  }
</script>

<style>
  .ni-field {
    width: 320px;
  }
</style>

Props

value=""
// The value of the field field, also can be used with v-model
// Options: Any valid string

placeholder=""
// The field field placeholder
// Options: Any valid string

size=""
// Chanage the size of the field field
// Options: "lg", "sm"

required
// Self-explanatory

theme="tendermint"
// Adds a custom field field theme
// Options: "tendermint"

type="text"
// Input field type (mainly used for HTML forms)
// Options: "text", "email", "tel", "num", "password", "textarea"

Related Packages

@nylira/vue-input

Flexible input, textarea, and select component for Vue 2.

3,927
@vgaidadei/inputv

Custom inputs form by vue.js applications

250
vue-r-mask

Masked input directive for vue.js 2

7,495
@odyzeo/form-item

Odyzeo form item component with Vue

3,613 1

Version History

Version Released License
1.5.0 MIT
1.4.0 MIT
1.3.1 MIT
1.3.0 MIT
1.2.3 MIT