Skip to content

Commit d043700

Browse files
committed
[NAE-1766] Options on multichoice autocomplete do not refresh in a specific situation
- fix
1 parent 2440249 commit d043700

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

projects/netgrif-components-core/src/lib/data-fields/multichoice-field/multichoice-autocomplete-field/abstract-multichoice-autocomplete-field-component.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export abstract class AbstractMultichoiceAutocompleteFieldComponentComponent imp
3636
}
3737

3838
add(event: MatChipInputEvent): void {
39-
const value = (event['key'] || '');
39+
const value = event['key'] ?? '';
4040

4141
if (value) {
4242
this.multichoiceField.value = this.multichoiceField.value === null ? [] : this.multichoiceField.value

0 commit comments

Comments
 (0)