change default form layout to card

This commit is contained in:
Michael Schramm 2022-03-01 08:58:14 +01:00
parent 019cd7f55e
commit 951dd2e5b4
2 changed files with 13 additions and 0 deletions

View File

@ -15,6 +15,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
- update translations (https://github.com/ohmyform/ui/pull/70)
- show warning icon in form list if not public
- default form layout is now "card"
### Fixed

View File

@ -78,6 +78,18 @@ const Create: NextPage = () => {
<Input type={'hidden'} />
</Form.Item>
<Form.Item
noStyle
name={[
'form',
'design',
'layout',
]}
initialValue={'card'}
>
<Input type={'hidden'} />
</Form.Item>
<Tabs>
<BaseDataTab key={'base_data'} tab={t('form:baseDataTab')} />
</Tabs>