uri is not required. changed type to text so that browser does not enforce validation

This commit is contained in:
Kyle Spearrin 2016-10-10 21:49:49 -04:00
parent 41660962b4
commit 0fb2349a8e
2 changed files with 2 additions and 2 deletions

View File

@ -13,7 +13,7 @@
<div class="form-group" show-errors>
<label for="uri">URI</label>
<div class="input-group">
<input type="url" id="uri" ng-model="site.uri" name="Uri" class="form-control" placeholder="http://..." required api-field />
<input type="text" id="uri" ng-model="site.uri" name="Uri" class="form-control" placeholder="http://..." api-field />
<span class="input-group-btn" uib-tooltip="Copy URI" tooltip-placement="left">
<button tabindex="-1" class="btn btn-default btn-flat" type="button" ngclipboard
ngclipboard-error="clipboardError(e)"

View File

@ -13,7 +13,7 @@
<div class="form-group" show-errors>
<label for="uri">URI</label>
<div class="input-group">
<input type="url" id="uri" name="Uri" ng-model="site.uri" class="form-control" placeholder="http://..." required api-field />
<input type="text" id="uri" name="Uri" ng-model="site.uri" class="form-control" placeholder="http://..." api-field />
<span class="input-group-btn">
<button tabindex="-1" class="btn btn-default btn-flat" type="button" uib-tooltip="Copy URI" tooltip-placement="left" ngclipboard
ngclipboard-error="clipboardError(e)"