self tags - revaturelabs/ask-frontend GitHub Wiki

This component allows experts to choose their tags on the settings page.

HTML

Display all skills with checkmarks so to allow the Expert to choose which skill sets will appear for answering.

Save button calls onSubmit() function.

TS

Variables

tags: Tag array
isChecked: boolean
expertId: AuthService.account.id
expertSkills: string array
currentExpert: any

Constructor

tagService: TagService
authService: AuthService
snackBar: MatSnackBar

Functions

toggle(event, id): Check and uncheck tags use toggle to add and remove tags from list of expert associated tags to be updated

⚠️ **GitHub.com Fallback** ⚠️