Moved location of disable expiry checkbox
Co-authored-by: Nelson Chan <chakflying@hotmail.com> Signed-off-by: Matthew Nickson <mnickson@sidingsmedia.com>
This commit is contained in:
parent
97e276bdb5
commit
7e178d93df
|
@ -22,25 +22,30 @@
|
||||||
<!-- Expiry -->
|
<!-- Expiry -->
|
||||||
<div class="my-3">
|
<div class="my-3">
|
||||||
<label class="form-label">{{ $t("Expiry date") }}</label>
|
<label class="form-label">{{ $t("Expiry date") }}</label>
|
||||||
<Datepicker
|
<div class="d-flex flex-row align-items-center">
|
||||||
v-model="key.expires"
|
<div class="col-6">
|
||||||
:dark="$root.isDark"
|
<Datepicker
|
||||||
:monthChangeOnScroll="false"
|
v-model="key.expires"
|
||||||
:minDate="minDate"
|
:dark="$root.isDark"
|
||||||
format="yyyy-MM-dd HH:mm"
|
:monthChangeOnScroll="false"
|
||||||
modelType="yyyy-MM-dd HH:mm:ss"
|
:minDate="minDate"
|
||||||
:required="!noExpire"
|
format="yyyy-MM-dd HH:mm"
|
||||||
:disabled="noExpire"
|
modelType="yyyy-MM-dd HH:mm:ss"
|
||||||
/>
|
:required="!noExpire"
|
||||||
|
:disabled="noExpire"
|
||||||
<div class="form-check mb-2">
|
/>
|
||||||
<input
|
</div>
|
||||||
id="no-expire" v-model="noExpire" class="form-check-input"
|
<div class="col-6 ms-3">
|
||||||
type="checkbox"
|
<div class="form-check mb-0">
|
||||||
>
|
<input
|
||||||
<label class="form-check-label" for="no-expire">{{
|
id="no-expire" v-model="noExpire" class="form-check-input"
|
||||||
$t("Don't expire")
|
type="checkbox"
|
||||||
}}</label>
|
>
|
||||||
|
<label class="form-check-label" for="no-expire">{{
|
||||||
|
$t("Don't expire")
|
||||||
|
}}</label>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue