`,
typescript: `
import { Component } from '@angular/core';
@Component({
- selector: 'inputgroup-button-demo',
- templateUrl: './inputgroup-button-demo.html'
+ selector: 'input-group-button-demo',
+ templateUrl: './input-group-button-demo.html'
})
-export class InputgroupButtonDemo {
+export class InputGroupButtonDemo {
}`
};
}
diff --git a/src/app/showcase/doc/inputgroup/checkboxdoc.ts b/src/app/showcase/doc/inputgroup/checkboxdoc.ts
index 599be793b8c..01179558c45 100644
--- a/src/app/showcase/doc/inputgroup/checkboxdoc.ts
+++ b/src/app/showcase/doc/inputgroup/checkboxdoc.ts
@@ -8,23 +8,23 @@ import { Code } from '../../domain/code';
Checkbox and RadioButton components can be combined with an input element under the same group.
`
})
export class CheckboxDoc {
@@ -35,49 +35,48 @@ export class CheckboxDoc {
category: string | undefined;
code: Code = {
- basic: `
-
`,
typescript: `
import { Component } from '@angular/core';
@Component({
- selector: 'inputgroup-checkbox-demo',
- templateUrl: './inputgroup-checkbox-demo.html'
+ selector: 'input-group-checkbox-demo',
+ templateUrl: './input-group-checkbox-demo.html'
})
-export class InputgroupCheckboxDemo {
+export class InputGroupCheckboxDemo {
checkbox1: boolean = false;
checkbox2: boolean = false;
diff --git a/src/app/showcase/doc/inputgroup/importdoc.ts b/src/app/showcase/doc/inputgroup/importdoc.ts
index cbdf5a58ce6..947c92e0949 100644
--- a/src/app/showcase/doc/inputgroup/importdoc.ts
+++ b/src/app/showcase/doc/inputgroup/importdoc.ts
@@ -7,8 +7,7 @@ import { Code } from '../../domain/code';
})
export class ImportDoc {
code: Code = {
- typescript: `import { InputTextModule } from 'primeng/inputtext';
-import { CheckboxModule } from 'primeng/checkbox';
-import { RadioButtonModule } from 'primeng/radiobutton';`
+ typescript: `import { InputGroup } from 'primeng/inputgroup';
+import { InputGroupAddon } from 'primeng/inputgroupaddon';`
};
}
diff --git a/src/app/showcase/doc/inputgroup/inputgroupddoc.module.ts b/src/app/showcase/doc/inputgroup/inputgroupddoc.module.ts
index 4880b514937..627fda6dcd6 100644
--- a/src/app/showcase/doc/inputgroup/inputgroupddoc.module.ts
+++ b/src/app/showcase/doc/inputgroup/inputgroupddoc.module.ts
@@ -13,9 +13,11 @@ import { ButtonDoc } from './buttondoc';
import { CheckboxDoc } from './checkboxdoc';
import { ImportDoc } from './importdoc';
import { MultipleDoc } from './multipledoc';
+import { InputGroupModule } from 'primeng/inputgroup';
+import { InputGroupAddonModule } from 'primeng/inputgroupaddon';
@NgModule({
- imports: [CommonModule, RouterModule, AppCodeModule, AppDocModule, FormsModule, InputTextModule, ButtonModule, CheckboxModule, RadioButtonModule],
+ imports: [CommonModule, RouterModule, AppCodeModule, AppDocModule, FormsModule, InputTextModule, ButtonModule, CheckboxModule, RadioButtonModule,InputGroupModule,InputGroupAddonModule],
exports: [AppDocModule],
declarations: [ImportDoc, BasicDoc, MultipleDoc, ButtonDoc, CheckboxDoc]
})
diff --git a/src/app/showcase/doc/inputgroup/multipledoc.ts b/src/app/showcase/doc/inputgroup/multipledoc.ts
index 1e22d5487ab..11206cc0f9d 100644
--- a/src/app/showcase/doc/inputgroup/multipledoc.ts
+++ b/src/app/showcase/doc/inputgroup/multipledoc.ts
@@ -8,58 +8,63 @@ import { Code } from '../../domain/code';
Multiple add-ons can be placed inside the same group.
-
+
`
})
export class MultipleDoc {
code: Code = {
- basic: `
`,
+
$
+
.00
+`,
- html: `
-
-
`,
typescript: `
import { Component } from '@angular/core';
@Component({
- selector: 'inputgroup-multiple-demo',
- templateUrl: './inputgroup-multiple-demo.html'
+ selector: 'input-group-multiple-demo',
+ templateUrl: './input-group-multiple-demo.html'
})
-export class InputgroupMultipleDemo {
+export class InputGroupMultipleDemo {
}`
};
}