avoid Chrome duplicate id warning

This commit is contained in:
LouisLam 2021-09-09 21:28:27 +08:00
parent 573c7faddd
commit ca479673e7

View File

@ -11,8 +11,8 @@
</div> </div>
<div class="modal-body"> <div class="modal-body">
<div class="mb-3"> <div class="mb-3">
<label for="type" class="form-label">{{ $t("Notification Type") }}</label> <label for="notification-type" class="form-label">{{ $t("Notification Type") }}</label>
<select id="type" v-model="notification.type" class="form-select"> <select id="notification-type" v-model="notification.type" class="form-select">
<option value="telegram">Telegram</option> <option value="telegram">Telegram</option>
<option value="webhook">Webhook</option> <option value="webhook">Webhook</option>
<option value="smtp">{{ $t("Email") }} (SMTP)</option> <option value="smtp">{{ $t("Email") }} (SMTP)</option>
@ -33,8 +33,8 @@
</div> </div>
<div class="mb-3"> <div class="mb-3">
<label for="name" class="form-label">{{ $t("Friendly Name") }}</label> <label for="notification-name" class="form-label">{{ $t("Friendly Name") }}</label>
<input id="name" v-model="notification.name" type="text" class="form-control" required> <input id="notification-name" v-model="notification.name" type="text" class="form-control" required>
</div> </div>
<Telegram v-if="notification.type === 'telegram'" /> <Telegram v-if="notification.type === 'telegram'" />