GitHub

Form

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

Components

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

@Component()
class DaffErrorMessageComponent {}

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

@Component()
class DaffHintComponent {
  @Input() validated: boolean = false
}

Inputs

validated
boolean
Defaultfalse
Description

Displays a validated hint UI.


Directives

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

@Directive()
class DaffFormFieldLabelDirective {}