@simpleform/render
v4.1.30
Published
dynamic rendering core of simple form
Downloads
29
Readme
@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 supportvalue
andonChange
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, aForm
component can support multipleFormChildren
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