|
|
@ -105,6 +105,15 @@ export class GfSymbolAutocompleteComponent |
|
|
this.controlType = 'symbol-autocomplete'; |
|
|
this.controlType = 'symbol-autocomplete'; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public get empty() { |
|
|
|
|
|
return this.input?.empty; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public set value(value: LookupItem) { |
|
|
|
|
|
this.control.setValue(value); |
|
|
|
|
|
super.value = value; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
public ngOnInit() { |
|
|
public ngOnInit() { |
|
|
if (this.disabled) { |
|
|
if (this.disabled) { |
|
|
this.control.disable(); |
|
|
this.control.disable(); |
|
|
@ -168,10 +177,6 @@ export class GfSymbolAutocompleteComponent |
|
|
return aLookupItem?.symbol ?? ''; |
|
|
return aLookupItem?.symbol ?? ''; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
public get empty() { |
|
|
|
|
|
return this.input?.empty; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public focus() { |
|
|
public focus() { |
|
|
this.input.focus(); |
|
|
this.input.focus(); |
|
|
} |
|
|
} |
|
|
@ -197,11 +202,6 @@ export class GfSymbolAutocompleteComponent |
|
|
} as LookupItem; |
|
|
} as LookupItem; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
public set value(value: LookupItem) { |
|
|
|
|
|
this.control.setValue(value); |
|
|
|
|
|
super.value = value; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public ngOnDestroy() { |
|
|
public ngOnDestroy() { |
|
|
super.ngOnDestroy(); |
|
|
super.ngOnDestroy(); |
|
|
|
|
|
|
|
|
|