JLForm

This component renders a form with configurable fields that allow to create/edit data objects.

Props

This component accepts the following props:

  • options - The table options, see FormSchema for more information.

Button on form

For using buttons on the form you need to create a new field with field: FormFieldField.BUTTON and property button filled in with the following config:

buttons: [
            {
                type: FormFieldButtonType.SUBMIT,
            },
        ],

Emits

This component emits:

  • submitted-form, when the form is submitted

Styles

These are Tailwind CSS @Apply classes, you can override them in your own CSS file.

Live demo


Docs v.0.14.0 Copyright © 2024