Commit 7ea58345 authored by Valerius Mattfeld's avatar Valerius Mattfeld
Browse files

add I do not know option to question one

parent 3f68f600
......@@ -10,6 +10,7 @@ import { attentionCheckState, Check } from 'pages/annotate';
import { logger } from 'utils/logger';
import { fetcher } from 'utils/utils';
import { STUDY_SIZE } from 'db/db';
import _ from 'lodash';
const validateSchema = Yup.object({
sensitivity: Yup.string().required(),
......@@ -203,35 +204,21 @@ const Form: FC<FormProps> = ({ pageNumber, uid, imageID, refetch, isCheck }) =>
<Table variant='simple'>
<Thead>
<Tr>
<Th>{t('a11')}</Th>
<Th>{t('a12')}</Th>
<Th>{t('a13')}</Th>
<Th>{t('a14')}</Th>
{_.range(1, 6).map((val, index) => (
<Th key={index}>{t(`a1${val}`)}</Th>
))}
</Tr>
</Thead>
<Tbody>
<Tr>
<Td>
<Radio value="1" />
</Td>
<Td>
<Radio value="2" />
</Td>
<Td>
<Radio value="3" />
</Td>
<Td>
<Radio value="4" />
</Td>
{_.range(1, 6).map((val, index) => (
<Td key={index}>
<Radio value={`${val}`} />
</Td>
))}
</Tr>
</Tbody>
</Table>
{/* <Stack spacing="1">
<Radio value="1">{t('a11')}</Radio>
<Radio value="3">{t('a12')}</Radio>
<Radio value="2">{t('a13')}</Radio>
<Radio value="4">{t('a14')}</Radio>
</Stack> */}
</RadioGroupControl>
<CheckboxContainer mt={4} name="targetDemographic" label={
!isQuestionOne && isCheck ? t('checkTwo') : t('questionTwo')
......
......@@ -17,6 +17,7 @@ export const resources = {
a12: "agree",
a13: "disagree",
a14: "strongly disagree",
a15: "I do not know",
a21: "Friends",
a22: "Family",
a23: "Colleagues",
......@@ -55,6 +56,7 @@ export const resources = {
a12: "stimme zu",
a13: "stimme nicht zu",
a14: "stimme absolut nicht zu",
a15: "Ich weiß es nicht",
a21: "Freunde",
a22: "Familie",
a23: "Arbeit / Kollegen",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment