@modelforms/fontawesome-vuetify

@modelforms/fontawesome-vuetify
8,155
Install
npm install @modelforms/fontawesome-vuetify
Latest Version:3.9.7
Vue:3
License:MIT
Last Updated:Oct 26, 2026
Links: npm
Maintainer: datamit

@modelforms/fontawesome-vuetify

#Install

pnpm add @modelforms/fontawesome-vuetify

#Quick start

  1. Create GridModel and DataModel
import { GridModel } from '@modelforms/fontawesome-vuetify';

class UserModel {
    name: string;
    phone: any[] = []
}

export const testForm: GridModel<UserModel> = {
  model: new UserModel(),
  rows: [
  {
    colSize: 12,
    cols: [
      {
        name: "name",
        type: "text",
        rules: {
          rules: [(v) => v?.length <= 3 || "Not longer than 3!"]
        },
        label: "Name",
        size: 12,
      }
    ]
  },
  {
    colSize: 12,
    cols: [
      {
        name: "Description",
        type: "area",
        label: "Description",
        size: 6,
      },
      {
        name: "phone",
        type: "complete",
        label: "Phone",
        size: 6,
        complete: {
            items : [],
            itemValue: [],
            title: "title"
        }
      }
    ]
  }]
}
  1. Import FormPlate
<template>
    <FormPlate 
        :form="form" 
        @submit="submit($event)"/>

</template>

<script lang="ts">
    import { FormPlate } from '@modelforms/fontawesome-vuetify';

    export default {

        components: {
            FormPlate: FormPlate
        },
        data() {
            return {
                form: testForm
            }
        },
        methods:{
            submit(event){
                console.log(event);
            }
        }
    }
</script>

#Documentation

The basic control types are text, number, date, complete, area, file and password.

The FormPlate component is designed with a built-in GridModelHandler that manages GridModel data steps, populates GridModel data, clears values on data changes and populates complete control items.

Grid model value fields have a rules with corresponding client validation messages.

The main event is submit with data model as argument.

Licence

MIT

Related Packages

@modeltables/fontawesome-vuetify

@modeltables/fontawesome-vuetify

6,943
v-snackbars

Display the v-snackbar (from Vuetify) with a stack display

92,647 110
@nextgis/vuetify-notice

component to display quick message and dialog to a user

1,621 0
@web-types/vuetify

Web-types for vuetify

93,870 306
vuetify-crud

Vuetify CRUD module

4,404 2

Version History

Version Released Vue License
3.9.7 ^3.5.25 MIT
3.9.6 ^3.5.25 MIT
3.9.5 ^3.5.25 MIT
3.9.4 ^3.5.25 MIT
3.9.3 ^3.5.25 MIT