Code Monkey home page Code Monkey logo

bootinput-vuejs's Introduction

bootinput

Bootstrap input components for vuejs with validation, and form-group cascade to use with Laravel

This should be compatible with all versions of laravel and with vue ^1.0

How to use this package?

Install with npm: npm install bootinput --save

or just download the package and link the javascript file after your vuejs file.

##Components

NOTE* errors should be an array of errors*
eg: errors = {name:["Name cannot be empty."]}

  1. boot-input: model,type,value,error,label
    eg: <boot-input type="text" :model.sync="name" :error="errors.name" label="Name"></boot-input>

  2. boot-textarea: model,value,error,label
    eg: <boot-textarea :model.sync="description" :error="errors.description" label="Description"></boot-textarea>

  3. boot-select: model,value,error,label,options
    eg: <boot-select :options="{'male':'Male','female':'Female','other':'Other'}" :model.sync="gender" :error="errors.gender" label="Gender"></boot-select>

  4. boot-checkbox: model,value,error,label
    eg: <boot-checkbox :model.sync="newsletter" :error="errors.newsletter" label="Newsletter"></boot-input>

bootinput-vuejs's People

Contributors

mrdezzods avatar tmaly1980 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

tmaly1980 washu

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.