<tap-pat-form>

多字段表单页,例如编辑资料、新建条目。传入 groups 渲染分组的行,标签在左、控件在右,无需手写 tap-cell 和控件布局。单个字段请用 <tap-pat-editor>。

值改变且所有 required 字段已填写后完成按钮才可用,点击后只发出携带完整值的 change,返回或关闭由调用方处理。

Example

API

多字段表单页,例如编辑资料、新建条目

点击完成后只发出 change,携带完整的值,关闭或返回由调用方处理

Extends GemElement

Instance Properties

Property(Attribute) Reactive Type Description
heading(heading) Yes string
back(back) Yes boolean Show the back button of the navbar, pops the closest stack
groups Yes FormGroup[]
value Yes FormValue
change Emitter<FormValue>

Other

Type Value
Event change