np-form Custom Type

Custom Type

In addition to built-in components, the type of a form field also supports custom VNode.

浏览器不支持,请手动复制 custom-type.en.vue

Fully Custom Render

Use render to fully customize the render, e.g. for a grouped form.

浏览器不支持,请手动复制 custom-render.en.vue

Component Configuration

FormColumn Props

PropDescriptionTypeDefault
typeType function, only renders the input area(data: AnyObject)=>VNode-
renderRender function, renders the entire form-item(data: AnyObject)=>VNode-