Skip to content

Commit

Permalink
fix(context): limit length title context
Browse files Browse the repository at this point in the history
  • Loading branch information
mbarbeau committed May 22, 2020
1 parent 64c2861 commit 88de4ee
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

<mat-form-field class="full-width">
<input matInput required
maxlength="128"
[placeholder]="'igo.context.contextManager.form.title' | translate"
formControlName="title">
<mat-error>
Expand All @@ -14,6 +15,7 @@
<span *ngIf="prefix" class="prefix">{{prefix}}-</span>
<span class="fieldWrapper">
<input matInput
maxlength="64"
[placeholder]="'igo.context.contextManager.form.uri' | translate"
formControlName="uri">
</span>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ <h1 mat-dialog-title class="mat-typography">{{ 'igo.context.bookmarkButton.dialo
<div mat-dialog-content class="mat-typography">
<mat-form-field>
<input matInput required autocomplete="off"
maxlength="128"
[placeholder]="'igo.context.bookmarkButton.dialog.placeholder' | translate"
[(ngModel)]="title">
</mat-form-field>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
import olSourceTileArcGISRest from 'ol/source/TileArcGISRest';

import { uuid } from '@igo2/utils';

import { DataSource } from './datasource';
import { Legend } from './datasource.interface';
import { TileArcGISRestDataSourceOptions } from './tilearcgisrest-datasource.interface';
Expand Down

0 comments on commit 88de4ee

Please sign in to comment.