ui-components
ui-components copied to clipboard
Angular FormItem is using slots instead of ngTemplate for `helpText` and `error`
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:
- The
helpTextanderrorproperties should also work withng-templatein Angular, like our other slots -
helpTextanderrorproperties for theForm Itemcomponent under Angular v. 4.0+ should be listed asstringandTemplateRef - The examples using the slotted properties, should be changed to reference
ng-template
@ArakTaiRoth chat with @vanessatran-ddi regarding the current implementation