mirror of
https://github.com/IT4Change/ohmyform-ui.git
synced 2025-12-12 17:25:51 +00:00
change default form layout to card
This commit is contained in:
parent
019cd7f55e
commit
951dd2e5b4
@ -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
|
||||
|
||||
|
||||
@ -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>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user