From f6ac6f9c6f59bc846409f8e5f7fdfca51a42b51e Mon Sep 17 00:00:00 2001 From: Oni-Men <sensyaheis@gmail.com> Date: Thu, 18 Jul 2019 20:56:48 +0900 Subject: [PATCH] fix #5071 (#5184) --- .../app/common/views/components/poll-editor.vue | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/src/client/app/common/views/components/poll-editor.vue b/src/client/app/common/views/components/poll-editor.vue index f7a4d3af8c..49940134c7 100644 --- a/src/client/app/common/views/components/poll-editor.vue +++ b/src/client/app/common/views/components/poll-editor.vue @@ -26,13 +26,19 @@ <option value="after">{{ $t('after') }}</option> </ui-select> <section v-if="expiration === 'at'"> - <ui-input v-model="atDate" type="date">{{ $t('deadline-date') }}</ui-input> - <ui-input v-model="atTime" type="time">{{ $t('deadline-time') }}</ui-input> + <ui-input v-model="atDate" type="date"> + <template #title>{{ $t('deadline-date') }}</template> + </ui-input> + <ui-input v-model="atTime" type="time"> + <template #title>{{ $t('deadline-time') }}</template> + </ui-input> </section> <section v-if="expiration === 'after'"> - <ui-input v-model="after" type="number">{{ $t('interval') }}</ui-input> + <ui-input v-model="after" type="number"> + <template #title>{{ $t('interval') }}</template> + </ui-input> <ui-select v-model="unit"> - <template #label>{{ $t('unit') }}</template> + <template #title>{{ $t('unit') }}</template> <option value="second">{{ $t('second') }}</option> <option value="minute">{{ $t('minute') }}</option> <option value="hour">{{ $t('hour') }}</option>