Browse Source

Merge pull request #21137 from abpframework/auto-merge/prerel-9-0/3105

Merge branch dev with prerel-9.0
pull/21149/head^2
maliming 1 year ago
committed by GitHub
parent
commit
101a312018
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 9
      docs/en/tutorials/book-store/part-09.md

9
docs/en/tutorials/book-store/part-09.md

@ -677,6 +677,10 @@ export class AuthorComponent implements OnInit {
this.selectedAuthor.birthDate ? new Date(this.selectedAuthor.birthDate) : null,
Validators.required,
],
shortBio: [
this.selectedAuthor.shortBio ? this.selectedAuthor.shortBio : null,
Validators.required,
],
});
}
@ -768,6 +772,7 @@ Open the `/src/app/author/author.component.html` and replace the content as belo
{%{{{ row.birthDate | date }}}%}
</ng-template>
</ngx-datatable-column>
<ngx-datatable-column [name]="'::ShortBio' | abpLocalization" prop="shortBio"></ngx-datatable-column>
</ngx-datatable>
</div>
</div>
@ -795,6 +800,10 @@ Open the `/src/app/author/author.component.html` and replace the content as belo
(click)="datepicker.toggle()"
/>
</div>
<div class="form-group">
<label for="author-short-bio">{%{{{ '::Short Bio' | abpLocalization }}}%}</label><span> * </span>
<textarea id="author-short-bio" class="form-control" formControlName="shortBio" rows="12"></textarea>
</div>
</form>
</ng-template>

Loading…
Cancel
Save