feat: Combo box forms by anandtiwary · Pull Request #1327 · hypertrace/hypertrace-ui · GitHub
Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { ChangeDetectionStrategy, Component, EventEmitter, Input, Output } from '@angular/core';
import { NG_VALUE_ACCESSOR } from '@angular/forms';
import { ControlValueAccessor, NG_VALUE_ACCESSOR } from '@angular/forms';
import { IconType } from '@hypertrace/assets-library';
import { Color } from '@hypertrace/common';
import { IconSize } from '../icon/icon-size';
Expand Down Expand Up @@ -37,7 +37,7 @@ import { IconSize } from '../icon/icon-size';
</div>
`
})
export class ColorPickerComponent {
export class ColorPickerComponent implements ControlValueAccessor {
@Input()
public selected?: string;

Expand Down
40 changes: 34 additions & 6 deletions projects/components/src/combo-box/combo-box.component.ts