Skip to content
This repository has been archived by the owner on Sep 23, 2020. It is now read-only.

Commit

Permalink
feat(AdminList): Add an element when you press space or unfocus from …
Browse files Browse the repository at this point in the history
…list
  • Loading branch information
rodrigoquintana committed Feb 7, 2018
1 parent b67d403 commit 5de73b8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ <h4 class="modal-title" id="myModalLabel">{{texts.form.general_block.icon_upload
<a type="button" class="input-group-addon" data-toggle="collapse" data-target="#admin-users-help" aria-expanded="false" aria-controls="admin-users-help">
<span class="glyphicon glyphicon-info-sign" aria-hidden="true"></span>
</a>
<tag-input class="form-control" id="adminUsers" name="adminUsers" [(ngModel)]="temp.adminUsers" (ngModelChange)="mirrorTempValues()" placeholder="{{texts.form.general_block.admin_list_placeholder}}" secondaryPlaceholder="{{texts.form.general_block.admin_list_secondary_placeholder}}"></tag-input>
<tag-input class="form-control" id="adminUsers" name="adminUsers" [(ngModel)]="temp.adminUsers" (ngModelChange)="mirrorTempValues()" placeholder="{{texts.form.general_block.admin_list_placeholder}}" secondaryPlaceholder="{{texts.form.general_block.admin_list_secondary_placeholder}}" separatorKeys="[',',' ']" addOnBlur=true ></tag-input>
</div>
</div>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ import { Http } from '@angular/http';
import { Headers, RequestOptions, Response } from '@angular/http';

import 'rxjs/add/operator/toPromise';
import 'rxjs/add/operator/filter';

@Injectable()
export class DashboardsService {
Expand Down

0 comments on commit 5de73b8

Please sign in to comment.