mirror of
https://github.com/IT4Change/ohmyform-ui.git
synced 2025-12-13 09:45:50 +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)
|
- update translations (https://github.com/ohmyform/ui/pull/70)
|
||||||
- show warning icon in form list if not public
|
- show warning icon in form list if not public
|
||||||
|
- default form layout is now "card"
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|
||||||
|
|||||||
@ -78,6 +78,18 @@ const Create: NextPage = () => {
|
|||||||
<Input type={'hidden'} />
|
<Input type={'hidden'} />
|
||||||
</Form.Item>
|
</Form.Item>
|
||||||
|
|
||||||
|
<Form.Item
|
||||||
|
noStyle
|
||||||
|
name={[
|
||||||
|
'form',
|
||||||
|
'design',
|
||||||
|
'layout',
|
||||||
|
]}
|
||||||
|
initialValue={'card'}
|
||||||
|
>
|
||||||
|
<Input type={'hidden'} />
|
||||||
|
</Form.Item>
|
||||||
|
|
||||||
<Tabs>
|
<Tabs>
|
||||||
<BaseDataTab key={'base_data'} tab={t('form:baseDataTab')} />
|
<BaseDataTab key={'base_data'} tab={t('form:baseDataTab')} />
|
||||||
</Tabs>
|
</Tabs>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user