Add maxlength attribute to modals

This commit is contained in:
wrongecho
2025-01-14 17:24:43 +00:00
parent 6c234968cb
commit 6d9de98a71
108 changed files with 407 additions and 409 deletions

View File

@@ -46,7 +46,7 @@
<div class="input-group-prepend">
<span class="input-group-text"><i class="fa fa-map-marker-alt"></i></span>
</div>
<input type="text" class="form-control" name="source" value="<?php echo $trip_source; ?>" required>
<input type="text" class="form-control" name="source" maxlength="200" value="<?php echo $trip_source; ?>" required>
</div>
</div>
@@ -80,7 +80,7 @@
<div class="form-group">
<label>Purpose <strong class="text-danger">*</strong></label>
<textarea rows="4" class="form-control" placeholder="Enter a purpose" name="purpose" required><?php echo $trip_purpose; ?></textarea>
<textarea rows="4" class="form-control" name="purpose" placeholder="Enter a purpose" maxlength="200" required><?php echo $trip_purpose; ?></textarea>
</div>
<div class="form-group">