From 9841199f9a0987aad8dada54bd86bfba2cb921d1 Mon Sep 17 00:00:00 2001 From: Rahul1582 Date: Sun, 25 Aug 2024 22:56:04 +0530 Subject: [PATCH 1/2] issue 16276 fixed --- src/app/showcase/doc/button/buttongroupdoc.ts | 1 + src/app/showcase/layout/doc/codeeditor/templates.ts | 3 +++ 2 files changed, 4 insertions(+) diff --git a/src/app/showcase/doc/button/buttongroupdoc.ts b/src/app/showcase/doc/button/buttongroupdoc.ts index 9a633255336..e45730921eb 100644 --- a/src/app/showcase/doc/button/buttongroupdoc.ts +++ b/src/app/showcase/doc/button/buttongroupdoc.ts @@ -36,6 +36,7 @@ export class ButtonGroupDoc { typescript: `import { Component } from '@angular/core'; import { ButtonModule } from 'primeng/button'; + @Component({ selector: 'button-group-demo', templateUrl: './button-group-demo.html', diff --git a/src/app/showcase/layout/doc/codeeditor/templates.ts b/src/app/showcase/layout/doc/codeeditor/templates.ts index fa5819b7878..42fe7ebd9d9 100644 --- a/src/app/showcase/layout/doc/codeeditor/templates.ts +++ b/src/app/showcase/layout/doc/codeeditor/templates.ts @@ -398,6 +398,7 @@ const getAngularApp = (props: Props = {}) => { import { BadgeModule } from 'primeng/badge'; import { BreadcrumbModule } from 'primeng/breadcrumb'; import { ButtonModule } from 'primeng/button'; + import { ButtonGroupModule } from 'primeng/buttongroup'; import { CalendarModule } from 'primeng/calendar'; import { CarouselModule } from 'primeng/carousel'; import { CascadeSelectModule } from 'primeng/cascadeselect'; @@ -512,6 +513,7 @@ const getAngularApp = (props: Props = {}) => { BreadcrumbModule, BlockUIModule, ButtonModule, + ButtonGroupModule, CalendarModule, CarouselModule, CascadeSelectModule, @@ -618,6 +620,7 @@ const getAngularApp = (props: Props = {}) => { BreadcrumbModule, BlockUIModule, ButtonModule, + ButtonGroupModule, CalendarModule, CarouselModule, CascadeSelectModule, From ac2d553b6532c707de7591ebf126e8e8330e8b0d Mon Sep 17 00:00:00 2001 From: Rahul1582 Date: Sun, 25 Aug 2024 23:10:51 +0530 Subject: [PATCH 2/2] issue 16276 fixed --- src/app/showcase/doc/button/buttongroupdoc.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/app/showcase/doc/button/buttongroupdoc.ts b/src/app/showcase/doc/button/buttongroupdoc.ts index e45730921eb..9a633255336 100644 --- a/src/app/showcase/doc/button/buttongroupdoc.ts +++ b/src/app/showcase/doc/button/buttongroupdoc.ts @@ -36,7 +36,6 @@ export class ButtonGroupDoc { typescript: `import { Component } from '@angular/core'; import { ButtonModule } from 'primeng/button'; - @Component({ selector: 'button-group-demo', templateUrl: './button-group-demo.html',