Skip to content
On this page

Interface: NFormFieldStatus

表单项的状态, 用于描述表单项的状态. 可通过 fields 属性单独指定某个表单项的状态.

Hierarchy

Properties

disabled

disabled: boolean

表单项是否禁用. 设置为 true 时, 表单项控件不可编辑.

Inherited from

FieldStatus.disabled

Defined in

dist/src/components/n-form/form-types.d.ts:142


fields

fields: Record<string, FieldStatus>

可通过此属性单独指定某个表单项的状态.

Defined in

dist/src/components/n-form/form-types.d.ts:155


readOnly

readOnly: boolean

表单项是否只读. 设置为 true 时, 将仅展示表单项的值不会渲染控件.

Inherited from

FieldStatus.readOnly

Defined in

dist/src/components/n-form/form-types.d.ts:146