diff --git a/projects/go-lib/src/lib/components/go-select/go-select.component.html b/projects/go-lib/src/lib/components/go-select/go-select.component.html index 9c9226709..7a5118c82 100644 --- a/projects/go-lib/src/lib/components/go-select/go-select.component.html +++ b/projects/go-lib/src/lib/components/go-select/go-select.component.html @@ -11,7 +11,8 @@ [bindLabel]="bindLabel" [bindValue]="bindValue" [multiple]="multiple" - [formControl]="control"> + [formControl]="control" + [placeholder]="placeholder"> diff --git a/projects/go-lib/src/lib/components/go-select/go-select.component.ts b/projects/go-lib/src/lib/components/go-select/go-select.component.ts index 9c2bc3240..722b8a126 100644 --- a/projects/go-lib/src/lib/components/go-select/go-select.component.ts +++ b/projects/go-lib/src/lib/components/go-select/go-select.component.ts @@ -18,6 +18,7 @@ export class GoSelectComponent implements OnInit { @Input() key: string; @Input() label: string; @Input() multiple: boolean = false; + @Input() placeholder: string; @Input() theme: 'light' | 'dark' = 'light'; ngOnInit(): void { diff --git a/projects/go-tester/src/app/components/test-page-3/test-page-3.component.html b/projects/go-tester/src/app/components/test-page-3/test-page-3.component.html index 2fe385d79..1cf9c36de 100644 --- a/projects/go-tester/src/app/components/test-page-3/test-page-3.component.html +++ b/projects/go-tester/src/app/components/test-page-3/test-page-3.component.html @@ -104,6 +104,7 @@

bindValue="value" bindLabel="name" [hints]="['Select an option here, whatever you want']" + placeholder="Select Box Placeholder" label="Select Box Here">