Website: Update number of hosts input on /contact page (#17784)

Closes: https://github.com/fleetdm/confidential/issues/5826

Changes:
- Added a minimum to the number of hosts input on the /contact page
This commit is contained in:
Eric 2024-03-21 17:16:22 -05:00 committed by GitHub
parent ceddd26a73
commit a9b5619d1c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -89,7 +89,7 @@
</div>
<div class="form-group">
<label for="number-of-hosts">How many devices do you have? *</label>
<input class="form-control" id="number-of-hosts" name="number-of-hosts" type="number" :class="[formErrors.numberOfHosts ? 'is-invalid' : '']" v-model.trim="formData.numberOfHosts">
<input class="form-control" id="number-of-hosts" name="number-of-hosts" type="number" :class="[formErrors.numberOfHosts ? 'is-invalid' : '']" min="1" v-model.trim="formData.numberOfHosts">
<p purpose="devices-note" class="mt-3 mb-0">Includes computers, servers, containers, and other hosts.</p>
<div class="invalid-feedback" v-if="formErrors.numberOfHosts">Please enter a number of devices</div>
</div>