Textarea allows a native HTML <textarea>
element to work with the Form Field component.
The textarea component has the same functionality as a native HTML <textarea>
element, with additional custom styling and functionality. It cannot be used by itself and must be contained within a DaffFormFieldComponent.
To use textarea, import DaffTextareaComponent
directly into your custom component:
import { DaffTextareaComponent } from '@daffodil/design/textarea';
@Component({
selector: 'custom-component',
templateUrl: './custom-component.component.html',
imports: [
DaffTextareaComponent,
],
})
export class CustomComponent {}