Skip to content

Commit

Permalink
fix: update validation in insert video form
Browse files Browse the repository at this point in the history
  • Loading branch information
florianpasteur authored Nov 9, 2020
1 parent 3c3bc70 commit 74a86ca
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -228,10 +228,10 @@
</div>
<div class="row form-group">
<div class="col">
<input type="text" class="form-control-sm" formControlName="height" placeholder="height (px)" pattern="[0-9]">
<input type="text" class="form-control-sm" formControlName="height" placeholder="height (px)" pattern="[0-9]*">
</div>
<div class="col">
<input type="text" class="form-control-sm" formControlName="width" placeholder="width (px)" pattern="[0-9]">
<input type="text" class="form-control-sm" formControlName="width" placeholder="width (px)" pattern="[0-9]*">
</div>
<label class="small">Height/Width</label>
</div>
Expand Down

0 comments on commit 74a86ca

Please sign in to comment.