Skip to content

Instantly share code, notes, and snippets.

@hoangbits
Created March 3, 2018 03:16
Show Gist options
  • Save hoangbits/95f4c262096dd8d9d4328bd96b85b7e9 to your computer and use it in GitHub Desktop.
Save hoangbits/95f4c262096dd8d9d4328bd96b85b7e9 to your computer and use it in GitHub Desktop.
note bug 1109
remove:
[(ngModel)]="product.unit"
[(ngModel)]="product.shortDesc"
[(ngModel)]="product.currency"
chagnes in .ts file:
this.product.unit -> this.fg.controls['unit'].value)
this.product.shortDesc -> this.fg.controls['shortDesc'].value
this.product.currency -> this.fg.controls['currency'].value
10. Details, Return policy fields are optional. ---> need to check showForm && !showFormSetValue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment