aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/shared/shared-forms/select/select-custom-value.component.ts
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/app/shared/shared-forms/select/select-custom-value.component.ts')
-rw-r--r--client/src/app/shared/shared-forms/select/select-custom-value.component.ts4
1 files changed, 3 insertions, 1 deletions
diff --git a/client/src/app/shared/shared-forms/select/select-custom-value.component.ts b/client/src/app/shared/shared-forms/select/select-custom-value.component.ts
index a8e5ad0d3..bc6b863c7 100644
--- a/client/src/app/shared/shared-forms/select/select-custom-value.component.ts
+++ b/client/src/app/shared/shared-forms/select/select-custom-value.component.ts
@@ -1,6 +1,6 @@
1import { Component, forwardRef, Input, OnChanges } from '@angular/core' 1import { Component, forwardRef, Input, OnChanges } from '@angular/core'
2import { ControlValueAccessor, NG_VALUE_ACCESSOR } from '@angular/forms' 2import { ControlValueAccessor, NG_VALUE_ACCESSOR } from '@angular/forms'
3import { SelectOptionsItem } from './select-options.component' 3import { SelectOptionsItem } from '../../../../types/select-options-item.model'
4 4
5@Component({ 5@Component({
6 selector: 'my-select-custom-value', 6 selector: 'my-select-custom-value',
@@ -20,6 +20,8 @@ export class SelectCustomValueComponent implements ControlValueAccessor, OnChang
20 @Input() searchable = false 20 @Input() searchable = false
21 @Input() groupBy: string 21 @Input() groupBy: string
22 @Input() labelForId: string 22 @Input() labelForId: string
23 @Input() inputSuffix: string
24 @Input() inputType = 'text'
23 25
24 customValue: number | string = '' 26 customValue: number | string = ''
25 selectedId: number | string 27 selectedId: number | string