Form Config

Look also at Field Config - this is the interesting part where you build the form:

Field Config

Overview

import { FormConfig } from '@tutim/types';

This is an interface representing the configuration for a form. It includes the following property:

interface FormConfig {
  formId: string;
  fields: FieldConfig[];
  layout?: FormLayout;
  logic?: FormLogic;
}
  • fields: An array of FieldConfig objects representing the fields in the form.

  • formId: (optional) Id string to represent the form

  • layout: (optional) still under development, documentation isn't ready yet

  • logic: (optional) still under development, documentation isn't ready yet

Last updated