CRUDUI

Home > @polyspec/crudui-validator > FieldDesignSlot

FieldDesignSlot interface

The design slot of a form field: the design slot with declared attributes and a group's layout.

Signature:

export interface FieldDesignSlot extends DesignSlot 

Extends: DesignSlot

Properties

Property

Modifiers

Type

Description

attributes?

DeclaredAttributes

(Optional) Attributes written on the field's control after the attributes crudui writes.

layout?

'stacked' | 'inline' | 'line'

(Optional) Layout of the fields inside a group field (docs/spec/schema.md, Layout); other fields and the form root reject it, and a repeated group has no line.

wrapper?

FieldWrapperNode

(Optional) Wrapper node appearance and attributes.