Add maxlength to all inputs
Because the children broke things with it.
This commit is contained in:
parent
d464a5fbd0
commit
f6f54da305
5 changed files with 11 additions and 2 deletions
|
|
@ -232,7 +232,7 @@ class AddressOrReportInput extends HTMLElement {
|
|||
|
||||
<div class="input-group">
|
||||
<span class="input-group-text"><i class="fas fa-search"></i></span>
|
||||
<input type="text" class="form-control form-control-lg" id="addressSearch" name="address" placeholder="${placeholder}">
|
||||
<input type="text" class="form-control form-control-lg" id="addressSearch" maxlength="200" name="address" placeholder="${placeholder}">
|
||||
<div id="suggestions" class="suggestions-container list-group"></div>
|
||||
</div>
|
||||
`;
|
||||
|
|
|
|||
|
|
@ -184,7 +184,7 @@ class AddressInput extends HTMLElement {
|
|||
</style>
|
||||
|
||||
<label for="addressInput" class="form-label">Enter address</label>
|
||||
<input type="text" class="form-control" id="address" name="address" placeholder="${placeholder}">
|
||||
<input class="form-control" id="address" maxlength="200" name="address" placeholder="${placeholder}" type="text">
|
||||
<div id="suggestions" class="suggestions-container list-group"></div>
|
||||
`;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue