Skip to content

Commit

Permalink
feat(admin-ui): Add input for configurable string operators
Browse files Browse the repository at this point in the history
Relates to #71
  • Loading branch information
michaelbromley committed Apr 25, 2019
1 parent fe5eedd commit b5a07d1
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<vdr-ab-right>
<button
class="btn btn-primary"
*ngIf="(isNew$ | async); else: updateButton"
*ngIf="(isNew$ | async); else updateButton"
(click)="create()"
[disabled]="detailForm.invalid || detailForm.pristine"
>
Expand Down Expand Up @@ -88,7 +88,7 @@
clrDropdownItem
(click)="addFilter(filter)"
>
{{ filter.code }}
{{ filter.description }}
</button>
</clr-dropdown-menu>
</clr-dropdown>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,16 @@
[formControlName]="arg.name"
*ngIf="arg.type === ConfigArgType.FACET_VALUE_IDS && facets"
></vdr-facet-value-selector>
<select
clrSelect
[formControlName]="arg.name"
*ngIf="arg.type === ConfigArgType.STRING_OPERATOR"
>
<option value="contains">contains</option>
<option value="doesNotContain">does not contain</option>
<option value="startsWith">starts with</option>
<option value="endsWith">ends with</option>
</select>
</div>
</form>
</div>
Expand Down

0 comments on commit b5a07d1

Please sign in to comment.