#210 [profile] clear button for birthday

This commit is contained in:
Avris 2021-05-21 17:31:09 +02:00
parent 90d2b8098c
commit 29031ce7a3
1 changed files with 6 additions and 1 deletions

View File

@ -125,7 +125,12 @@
<p class="small text-muted mb-0"> <p class="small text-muted mb-0">
<T>profile.birthdayInfo</T> <T>profile.birthdayInfo</T>
</p> </p>
<input type="date" class="form-control form-control-sm" v-model="birthday"/> <div class="input-group mb-3">
<input type="date" class="form-control form-control-sm" v-model="birthday"/>
<button class="btn btn-outline-danger btn-sm" type="button" v-if="birthday !== null" @click="birthday = null">
<Icon v="times"/>
</button>
</div>
</div> </div>
<div class="form-group"> <div class="form-group">