Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import { BsDropdownModule } from 'ngx-bootstrap/dropdown';
- @NgModule({
- imports: [CommonModule, FormsModule, HttpClientModule, RouterModule.forChild(groupRoutes), BsDropdownModule.forRoot()],
- })
- <div class="btn-group" dropdown>
- <button dropdownToggle type="button" class="btn btn-secondary dropdown-toggle">
- {{selectedRecipientSource.name}}<span class="caret"></span>
- </button>
- <ul *dropdownMenu class="dropdown-menu" role="menu">
- <li role="menuitem" *ngFor="let recipientSrc of groupViewModel.allRecipients"><a class="dropdown-item" (click)="selectRecipient(recipientSrc)">{{recipientSrc.name}}</a></li>
- </ul>
- <input type="button" value="Добавить получателя" (click)="saveGroupRecipient()" class="btn btn-primary" style="margin-left:10px" />
- </div>
Add Comment
Please, Sign In to add comment