Form / foldkit-mixins-form

FieldAttrs

interface · packages/mixins-form/src/index.ts:570

interface FieldAttrs {
  readonly type?: string | undefined
  readonly placeholder?: string | undefined
  readonly rows?: number | undefined
}

What one key's element takes beyond the base field view: an HTML input type, a placeholder, a textarea's rows. A renderer reads what fits its element and ignores the rest.

Members

FieldAttrs.type

property · packages/mixins-form/src/index.ts:571

readonly type?: string | undefined

FieldAttrs.placeholder

property · packages/mixins-form/src/index.ts:572

readonly placeholder?: string | undefined

FieldAttrs.rows

property · packages/mixins-form/src/index.ts:573

readonly rows?: number | undefined