Skip to content

Commit

Permalink
fix: #454 Increase email field maxlength to 100 (#466)
Browse files Browse the repository at this point in the history
Increase email field maxlength to 100
  • Loading branch information
ianliuwk1019 authored Oct 4, 2023
1 parent 6ba1a66 commit cad7202
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -195,11 +195,11 @@ <h1 class="text-muted">
</div>

<div class="row" >
<div class="form-group col-md-6">
<div class="form-group col-md-12">
<label for="email" [ngClass]="{'required': editMode}">Email for Public Comment</label>
<input type="text"
id="email" name="email"
maxlength="50"
maxlength="100"
[placeholder]="editMode? '[email protected]': ''"
class="form-control"
formControlName="email"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ <h3 class="title">No public notices found.</h3>

<div class="row">
<div class="col-sm-4 bold">Email for Public Comment: </div>
<div class="col-sm-8">{{pn.email}}</div>
<div class="col-sm-8 word-wrap">{{pn.email}}</div>
</div>

<div class="validity-txt" *ngIf="pn.operationStartYear && pn.operationEndYear">
Expand Down
4 changes: 4 additions & 0 deletions public/src/assets/styles/layout/layout.scss
Original file line number Diff line number Diff line change
Expand Up @@ -133,4 +133,8 @@ hr {

.form-group {
margin-bottom: 1rem
}

.word-wrap {
word-wrap: break-word;
}

0 comments on commit cad7202

Please sign in to comment.