Fix answer placeholder for long and short answer question
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
This commit is contained in:
parent
f57a18cad4
commit
e2f503e189
|
@ -36,7 +36,7 @@
|
||||||
<div class="question__header">
|
<div class="question__header">
|
||||||
<input v-if="edit"
|
<input v-if="edit"
|
||||||
:placeholder="t('forms', 'Enter a title for this question')"
|
:placeholder="t('forms', 'Enter a title for this question')"
|
||||||
:aria-label="t('forms', 'The title of the question number {index}', {index})"
|
:aria-label="t('forms', 'Title of question number {index}', {index})"
|
||||||
:value="text"
|
:value="text"
|
||||||
class="question__header-title"
|
class="question__header-title"
|
||||||
type="text"
|
type="text"
|
||||||
|
|
|
@ -31,7 +31,7 @@
|
||||||
<!-- TODO: properly choose max length -->
|
<!-- TODO: properly choose max length -->
|
||||||
<textarea ref="textarea"
|
<textarea ref="textarea"
|
||||||
:aria-label="t('forms', 'A long answer for the question “{text}”', { text })"
|
:aria-label="t('forms', 'A long answer for the question “{text}”', { text })"
|
||||||
:placeholder="t('forms', 'Long answer text')"
|
:placeholder="t('forms', 'People can enter a long answer')"
|
||||||
:required="true /* TODO: implement required option */"
|
:required="true /* TODO: implement required option */"
|
||||||
:value="values[0]"
|
:value="values[0]"
|
||||||
class="question__text"
|
class="question__text"
|
||||||
|
|
|
@ -31,7 +31,7 @@
|
||||||
<!-- TODO: properly choose max length -->
|
<!-- TODO: properly choose max length -->
|
||||||
<input ref="input"
|
<input ref="input"
|
||||||
:aria-label="t('forms', 'A short answer for the question “{text}”', { text })"
|
:aria-label="t('forms', 'A short answer for the question “{text}”', { text })"
|
||||||
:placeholder="t('forms', 'Short answer text')"
|
:placeholder="t('forms', 'People can enter a short answer')"
|
||||||
:required="true /* TODO: implement required option */"
|
:required="true /* TODO: implement required option */"
|
||||||
:value="values[0]"
|
:value="values[0]"
|
||||||
class="question__input"
|
class="question__input"
|
||||||
|
|
Loading…
Reference in a new issue