Update entries.component.ts

This commit is contained in:
shamoon 2024-11-06 12:39:39 -08:00
parent 6d4f102696
commit 4f7cbab912
No known key found for this signature in database

View File

@ -29,6 +29,9 @@ export class EntriesComponent extends AbstractInputComponent<object> {
}
writeValue(newValue: any): void {
if (!newValue) {
newValue = {}
}
this.entries = Object.entries(newValue)
this.value = newValue
}