Created
December 23, 2021 10:01
-
-
Save wizardnet972/f79e70c15dd7790b4a8a13724027f7dd to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<app-form [user]="user$ | async"></app-form> | |
... | |
@Input() set user(value) { | |
if (!value) return; | |
this.form.patchValue({ ...value }); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment