All Projects β†’ yarbshk β†’ vue-formly-buefy

yarbshk / vue-formly-buefy

Licence: MIT license
The declarative way to create and validate forms.

Programming Languages

javascript
184084 projects - #8 most used programming language
Vue
7211 projects

Projects that are alternatives of or similar to vue-formly-buefy

Validator
HTML form validation. Perfectly made for all scenerios, lightweight, semantic & easy to use
Stars: ✭ 209 (+1061.11%)
Mutual labels:  form-validation
formz
A unified form representation in Dart used at Very Good Ventures πŸ¦„
Stars: ✭ 262 (+1355.56%)
Mutual labels:  form-validation
react-inputs-validation
A react component for form inputs validation. Online demo examples
Stars: ✭ 48 (+166.67%)
Mutual labels:  form-validation
Resolvers
πŸ“‹ Validation resolvers: Zod, Yup, Joi, Superstruct, and Vest.
Stars: ✭ 222 (+1133.33%)
Mutual labels:  form-validation
Form bloc
πŸ”₯ Dart and Flutter Package πŸ”₯ Easy Form State Management using BLoC pattern πŸ”₯ Wizard/stepper forms, asynchronous validation, dynamic and conditional fields, submission progress, serialization and more! πŸ”₯
Stars: ✭ 239 (+1227.78%)
Mutual labels:  form-validation
laminas-form
Validate and display simple and complex forms, casting forms to business objects and vice versa
Stars: ✭ 65 (+261.11%)
Mutual labels:  form-validation
Material Singleinputform
A single EditText instead of a classical form. Library that implements flavienlaurent's singleinputform
Stars: ✭ 202 (+1022.22%)
Mutual labels:  form-validation
recaptcha2
Easy verifier for google reCAPTCHA version 2 for Node.js and Express.js
Stars: ✭ 48 (+166.67%)
Mutual labels:  form-validation
Final Form
🏁 Framework agnostic, high performance, subscription-based form state management
Stars: ✭ 2,787 (+15383.33%)
Mutual labels:  form-validation
Frontend-Learning-Journey
Tutorials, definitions, frameworks and some of the projects i made when starting to learn frontend web developement
Stars: ✭ 28 (+55.56%)
Mutual labels:  form-validation
Validate
A lightweight form validation script.
Stars: ✭ 227 (+1161.11%)
Mutual labels:  form-validation
Svelte Forms Lib
πŸ“. A lightweight library for managing forms in Svelte
Stars: ✭ 238 (+1222.22%)
Mutual labels:  form-validation
vue-pokemon-memory-game
PokΓ©mon Memory Game
Stars: ✭ 48 (+166.67%)
Mutual labels:  buefy
Bouncer
A lightweight form validation script that augments native HTML5 form validation elements and attributes.
Stars: ✭ 224 (+1144.44%)
Mutual labels:  form-validation
vue-cron-editor
Vue component for easier editing of cron expressions.
Stars: ✭ 61 (+238.89%)
Mutual labels:  buefy
Documentation
πŸ“‹ Official documentation/website
Stars: ✭ 202 (+1022.22%)
Mutual labels:  form-validation
electron-vue-buefy-editor
A Markdown editor with live preview written using Vue.js, Buefy (Bulma), the Ace editor component, and running inside the Electron framework.
Stars: ✭ 26 (+44.44%)
Mutual labels:  buefy
envalid
Envalid is a framework agnostic and fluent server side form validation package for PHP
Stars: ✭ 23 (+27.78%)
Mutual labels:  form-validation
ATGValidator
iOS validation framework with form validation support
Stars: ✭ 51 (+183.33%)
Mutual labels:  form-validation
FrontendForms
A module for ProcessWire CMS to create and validate forms on the frontend easily using the Valitron library.
Stars: ✭ 0 (-100%)
Mutual labels:  form-validation

vue-formly-buefy

⚠️ The plugin is no longer being developed! Unfortunately I enforced to announce that the new Buefy features will not be added to this plugin because of its design constraints and code redundancy. Please consider to use VeeValidate instead (it's clear and easy solution for the problem). Thanks for everyone who was involved to the project especially our contributors!

Vue.js plugin that covers the Buefy form fields for Formly. It lets you to validate input data in your forms. The plugin combine simplicity of the Formly form builder, lightness of the Buefy form fields and impeccability of the Bulma design.

Brief description of the most meaningful features:

  • Completely covered. All Buefy form fields are covered (Autocomplete, Checkbox, Datepicker, Input, Radio, Select, Switch, Taginput, Timepicker and Upload).
  • Extensible. Wrap the vast majority of form elements to increase its functionality (data validation, field controls, grouping and many more are available).
  • Straightforward. Simple and standardized API.

Requirements

The plugin was developed and tested for the following packages:

Installation

First of all install necessary dependencies (see above) and vue-formly-buefy itself:

$ npm i vue-formly-buefy

After, integrate the plugin with your project:

import Buefy from 'buefy'
import Vue from 'vue'
import VueFormly from 'vue-formly'
import VueFormlyBuefy from 'vue-formly-buefy'

Vue.use(Buefy)
Vue.use(VueFormly)
Vue.use(VueFormlyBuefy) // Plug in directly after Vue Formly

new Vue({
  el: '#app'
})

That's all :D

Getting started

Look at the following example of the wrapped input with a span control:

<template>
  <formly-form :form="form" :model="model" :fields="fields"></formly-form>
</template>

<script>
  // Import the span control from the library
  import { Span } from 'vue-formly-buefy/dist/controls'

  export default {
    data () {
      return {
        form: {},
        model: {
          email: ''
        },
        fields: [
          {
            key: 'email',
            type: 'input-with-field',  // Use a wrapper to extend functionality
            templateOptions: {
              properties: {            // Keep configuration of the element              
                'placeholder': 'Your email'
              },
              wrapper: {               // Keep configuration of the wrapper
                controls: [
                  {
                    type: Span,        // Use the Span component as a control
                    position: 'after',
                    options: {         // Keep configuration of the control
                      label: '@gmail.com',
                      properties: {
                        'class': 'button is-static'
                      }
                    }
                  }
                ]
              }
            }
          }
        ]
      }
    }
  }
</script>

The code above will generate the following Buefy markup (then Vue.js will have compiled this markup to HTML as expected):

<b-field>
    <b-input placeholder="Your email"></b-input>
    <div class="control">
        <span class="button is-static">@gmail.com</span>
    </div>
</b-field>

Search for more examples here.

Documentation

Check wiki section of this repo for detailed API explanation.

Copyright and License

Copyright (c) 2017-2019 Yurii Rabeshko. Code released under the MIT license.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].