ui-components icon indicating copy to clipboard operation
ui-components copied to clipboard

Angular FormItem is using slots instead of ngTemplate for `helpText` and `error`

Open ArakTaiRoth opened this issue 7 months ago • 1 comments

More Info

Currently our Angular 4.0 implementation relies on the developer to use slots rather than Angular's ngTemplate.

This may not be possible without breaking current implementation, in which case don't do this

Acceptance Criteria:

  1. The helpText and error properties should also work with ng-template in Angular, like our other slots
  2. helpText and error properties for the Form Item component under Angular v. 4.0+ should be listed as string and TemplateRef
  3. The examples using the slotted properties, should be changed to reference ng-template

ArakTaiRoth avatar Jul 23 '25 21:07 ArakTaiRoth

@ArakTaiRoth chat with @vanessatran-ddi regarding the current implementation

ArakTaiRoth avatar Jul 31 '25 19:07 ArakTaiRoth