Skip to content

Latest commit

 

History

History
22 lines (17 loc) · 1.19 KB

README.md

File metadata and controls

22 lines (17 loc) · 1.19 KB

@simpleform/render

English | 中文说明

A lightweight dynamic forms engine that makes it easy to dynamically render forms.

Introduction

  • Component registration (components property): We need to register form controls and non-form components before using them, in case of form controls we need to support value and onChange props inside the control.
  • Component Description (widgetList property): We use a list to describe the UI structure, each item in the list represents a component node. Node nesting is supported.
  • Component Rendering: Form component handles form values, FormChildren component handles form rendering, a Form component can support multiple FormChildren components for internal rendering.
  • Component linkage: All form properties can support string expressions to describe linkage conditions (except widgetList property).

install

npm install @simpleform/render --save
# 或者
yarn add @simpleform/render