Clean Expires

Signed-off-by: Jonas Rittershofer <jotoeri@users.noreply.github.com>
This commit is contained in:
Jonas Rittershofer 2020-04-20 13:51:48 +02:00
commit 2cd445d201
12 changed files with 106 additions and 121 deletions

View file

@ -23,13 +23,14 @@
<template>
<Question
v-bind.sync="$attrs"
:title="title"
:text="text"
:edit.sync="edit"
@update:title="onTitleChange">
@delete="onDelete"
@update:text="onTitleChange">
<div class="question__content">
<!-- TODO: properly choose max length -->
<textarea ref="textarea"
:aria-label="t('forms', 'A long answer for the question “{title}”', { title })"
:aria-label="t('forms', 'A long answer for the question “{text}”', { text })"
:placeholder="t('forms', 'Long answer text')"
:readonly="edit"
:value="values[0]"