Resolved issue with intelligent discussion not loading due to error.
error_handler.ts:45 ERROR Error: NG0300: Multiple components match node with tagname button: _MatButton and _MatIconButton. Find more at https://angular.io/errors/NG0300
at throwMultipleComponentError (errors.ts:52:9)
at findDirectiveDefMatches (shared.ts:1070:15)
at resolveDirectives (shared.ts:831:25)
at elementStartFirstCreatePass (element.ts:43:3)
at Module.ɵɵelementStart (element.ts:90:7)
at DiscussionComposerDialog_Template (discussion-prompt-composer-dialog.html:1:1)
at executeTemplate (shared.ts:261:5)
at renderView (render.ts:86:7)
at renderComponent (render.ts:30:3)
at renderChildComponents (render.ts:136:5)
Fixes # intelligent discussion
The problem was the use of both mat-button and mat-icon-button directives on the same button element
Type of change
Please delete options that are not relevant.
[x] Bug fix (non-breaking change which fixes an issue)
How Has This Been Tested?
Tested in local development environment minor HTML change.
Testing Checklist:
[x] Tested in latest Chrome
Checklist:
[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code in hard-to-understand areas
[x] My changes generate no new warnings
[x ] I have requested a review from @macite and @jakerenzella on the Pull Request
Description
Resolved issue with intelligent discussion not loading due to error.
error_handler.ts:45 ERROR Error: NG0300: Multiple components match node with tagname button: _MatButton and _MatIconButton. Find more at https://angular.io/errors/NG0300 at throwMultipleComponentError (errors.ts:52:9) at findDirectiveDefMatches (shared.ts:1070:15) at resolveDirectives (shared.ts:831:25) at elementStartFirstCreatePass (element.ts:43:3) at Module.ɵɵelementStart (element.ts:90:7) at DiscussionComposerDialog_Template (discussion-prompt-composer-dialog.html:1:1) at executeTemplate (shared.ts:261:5) at renderView (render.ts:86:7) at renderComponent (render.ts:30:3) at renderChildComponents (render.ts:136:5)
Fixes # intelligent discussion The problem was the use of both mat-button and mat-icon-button directives on the same button element
Type of change
Please delete options that are not relevant.
How Has This Been Tested?
Tested in local development environment minor HTML change.
Testing Checklist:
Checklist: