A Vue.js address form component for Bedrock Web apps

Overview

bedrock-vue-address-form

A Vue.js address form component for Bedrock Web apps

View the component in the test harness

npm i
cd test/
npm i
npm start

Re-Build countries.js

  1. Create an account on http://www.geonames.org/
  2. Navigate to the bin/ directory
  3. Update username in config.json with your geoname's username
  4. Use the created JSON file to update countries.js
cd bin/
node index.js

Additional Information

Geonames Country Data

Comments
  • Implement select in Regions for big countries.

    Implement select in Regions for big countries.

    • Countries json added.
    • Eslint works.
    • Add a better countries json array with regions.
    • Fix a small error in the vue file.
    • Add a Region Selector for large countries.
    • Implement select in Regions for big countries.
    opened by aljones15 22
  • Upgrade to Quasar v1.

    Upgrade to Quasar v1.

    @gannan08 sorry to edit your description, but I am listing all the tests for expected functionalities in each PR so we know for sure what was reviewed

    Tests:

    1. restrict countries still works
    2. USA and Canada swap out region labels
    3. validation works for all inputs
    4. vuelidate is fed into the :error prop
    5. $touch is called on @blur and @keyUp
    6. I also fixed this issue: https://github.com/digitalbazaar/bedrock-vue-address-form/issues/8
    7. autocomplete seems to get correct values a majority of the time.
    opened by gannan08 5
  • Vuelidate validation is a bit over eager

    Vuelidate validation is a bit over eager

    region-blank-error

    Steps:

    1. touch the region input (before selecting a country)
    2. select a country which is large enough to have a region select (angola is easy as is Canada or Mexico).
    3. the result is in the image.
    4. this is not just this one particular input all of the inputs can show invalid before even enter anything into the input.
    5. Forms need to track dirty and use it when deciding if invalid.
    6. might be a good idea to clear value.addressRegion on country change if not the first change.

    @gannan08 assigned to you I'm assuming this stuff goes to you?

    invalid 
    opened by aljones15 1
  • Address Line needs to be optimized for users

    Address Line needs to be optimized for users

    The current address line is a textarea with autocomplete="street-address"

    usability experts recommend single inputs with a hidden second line.

    https://baymard.com/blog/address-line-2

    opened by aljones15 0
  • FIXME Count 1/ TODO Count 4

    FIXME Count 1/ TODO Count 4

    • [ ] TODO: specify propsData Commit: (77a94f6) Add core files. File: test/web/10-AddressForm.js:15 Dave Longley commented a year ago

    • [ ] TODO: consider moving to bedrock-karma? Commit: (77a94f6) Add core files. File: test/test.config.js:12 Dave Longley commented a year ago

    • [ ] FIXME: make configurable Commit: (77a94f6) Add core files. File: test/components/index.js:10 Dave Longley commented a year ago

    • [ ] TODO: Move to bedrock-web-forms Commit: (f377b11) Update label generation and use alpha-2 codes for countries. File: BrAddressForm.vue:330 Ganesh Annan commented a year ago

    • [ ] TODO: $vm.el.something Commit: (77a94f6) Add core files. File: test/web/10-AddressForm.js:19 Dave Longley commented a year ago

      TODO Count 4 FIXME Count 1 Oldest Comment a year ago Oldest Commenter Dave Longley Oldest Comment TODO: specify propsData

    opened by mandyvenables 1
  • Toggle display of filter input to none when selected.

    Toggle display of filter input to none when selected.

    Solves the weird spacing issue found here:

    https://github.com/digitalbazaar/bedrock-vue-create-organization-wizard/pull/5

    The issue was on select the input still had text in it resulting in some countries causing a slight bump. We now toggle display: none on select and on filter display: 'inline-block' Have not noticed any news bugs caused by this, but does further highlight just how bad the q-select filter functionality is in beta.

    opened by aljones15 4
Owner
digitalbazaar
digitalbazaar
Super Form Builder built on top of Vue with Drag & Drop functionality, savable-form-schema and easy to maintain/upgrade your form.

agape-form-builder forked by vue-form-builder A simple builder to help you generate a super form for your features/modules/sites,... Easy to use, crea

Ágape Consultoria 0 Apr 5, 2021
Vue-form-generator: A schema-based form generator component for Vue.js

vue-form-generator A schema-based form generator component for Vue.js. Demo JSFiddle simple example Features reactive forms based on schemas multiple

null 0 Feb 4, 2019
form-create is a form generation component that can generate dynamic rendering, data collection, verification and submission functions through JSON

form-create is a form generation component that can generate dynamic rendering, data collection, verification and submission functions through JSON. Supports 3 UI frameworks, and supports the generation of any Vue components. Built-in 20 kinds of commonly used form components and custom components, no matter how complex forms can be easily handled.

xaboy 4.6k Jan 6, 2023
A plugin that provides a basic reset for form styles that makes form elements easy to override with utilities.

@tailwindcss/forms A plugin that provides a basic reset for form styles that makes form elements easy to override with utilities. Installation Note th

Tailwind Labs 2.8k Dec 31, 2022
Laravel Enso Form Builder is a customizable, template based form creator, so you can quickly create forms with the minimum amount of effort

Forms JSON-based Form builder for Laravel Enso This package can work independently of the Enso ecosystem. The front end implementation that utilizes t

Laravel Enso 119 Dec 24, 2022
A simple form-builder with drag & drop to help you deal your own form

A simple form-builder with drag & drop to help you deal your own form. Less code in development and your site will be more generic, configurable.

Vasyl Dmytruk 0 Nov 30, 2018
Render fully customizable dynamic form with form-field conditional logic.

Ionic Vue Form Render fully customizable dynamic form with form-field conditional logic. Install npm install ionic-vue-form

Simo Mafuxwana 3 Oct 21, 2022
A simple web form app written in Vue

vue-form A simple web form app built with Vue. Live demo: https://goofy-mestorf-0699ac.netlify.com Project setup yarn install Compiles and hot-reload

Khoa Le 4 Oct 10, 2021
a simple web form created with vue.js to study how the framework works

web-form Project setup npm install Compiles and hot-reloads for development npm run serve Compiles and minifies for production npm run build Lints

Isaac Muniz 0 Dec 26, 2021
It's a simple web form implemented with VueJS.

?? Table of Contents About website description Project setup Compiles and hot-reloads for development Website link Contributors About It's a simple we

Asmaa Adel 3 Sep 18, 2022
:clipboard: A schema-based form generator component for Vue.js

vue-form-generator A schema-based form generator component for Vue.js. Demo JSFiddle simple example CodePen simple example Features reactive forms bas

VueJS Generators 2.9k Dec 27, 2022
A flexible, schema driven form component for Vue 3.

Vue 3 Live Form This component, written using TypeScript and the Vue 3 composition API, creates a schema-driven form that allows you to modify the sta

Nick Tupy 5 Jan 10, 2022
Vue.js 2 Form Component

Note: Users of Vue.js version 1 please use this package instead. Breaking Change: As of version 1.0 this package uses controlled components, which mea

Matanya 59 Aug 30, 2022
A schema-based form generator component for Vue.js

vue-form-generator A schema-based form generator component for Vue.js Demo JSFiddle simple example Features multiple objects editing 19 built-in field

David Mamane 4 Mar 12, 2019
A extend schema-based form generator component for Vue.js

vue-form-generator-main A extend schema-based form generator component for Vue.js. Demo JSFiddle simple example Features reactive forms based on schem

hoai 1 May 19, 2020
A schema-based form generator component for Vue.js

vue-form-generator A schema-based form generator component for Vue.js. Demo JSFiddle simple example CodePen simple example Features reactive forms bas

Roc 0 Oct 28, 2019
📝 A JSON configuration Render form Component for Vue.js and Element-UI

?? A JSON configuration Render form Component for Vue.js and Element-UI

4Ark 4 Nov 4, 2020
A schema-based form generator component for Vue.js

vue-form-generator A schema-based form generator component for Vue.js. Demo JSFiddle simple example CodePen simple example Features reactive forms bas

null 0 Aug 27, 2019
A schema-based form generator component for Vue.js

vue-form-generator A schema-based form generator component for Vue.js v1.x.x Vue v2.x support is under development! Demo JSFiddle simple example Featu

Merifond New Markets GmbH 0 Jan 25, 2017