GitHub

Form

Form provides components for building accessible and well-structured forms, including error messages, hints, and labels for form-related content.

Components

DaffErrorMessageComponent

import { DaffErrorMessageComponent } from '@daffodil/design/form'

@Component()
class DaffErrorMessageComponent {}

DaffHintComponent

import { DaffHintComponent } from '@daffodil/design/form'

@Component()
class DaffHintComponent {
  validated: InputSignal<boolean> = false
}

Inputs

validated
InputSignal<boolean>
Defaultfalse
Description

Displays a validated hint UI.


Directives

DaffFormFieldLabelDirective

import { DaffFormFieldLabelDirective } from '@daffodil/design/form'

@Directive()
class DaffFormFieldLabelDirective {}