changed default form now has an end page

This commit is contained in:
Michael Schramm 2022-03-27 11:29:29 +02:00
parent ba302dcd63
commit 84d96cd5ee
2 changed files with 33 additions and 0 deletions

View File

@ -24,6 +24,8 @@ Template for next version
### Changed
- default form now has an end page
### Fixed
- sorting of fields in excel export

View File

@ -89,6 +89,37 @@ const Create: NextPage = () => {
<Input type={'hidden'} />
</Form.Item>
<Form.Item
noStyle
name={[
'form', 'endPage', 'show',
]}
initialValue={true}
>
<Input type={'hidden'} />
</Form.Item>
<Form.Item
noStyle
name={[
'form', 'endPage', 'title',
]}
initialValue={t('form:submitted')}
>
<Input type={'hidden'} />
</Form.Item>
<Form.Item
noStyle
label={t('form:endPage.continueButtonText')}
name={[
'form', 'endPage', 'buttonText',
]}
initialValue={t('form:restart')}
>
<Input type={'hidden'} />
</Form.Item>
<Tabs>
<BaseDataTab key={'base_data'} tab={t('form:baseDataTab')} />
</Tabs>