mirror of
https://github.com/IT4Change/ohmyform-ui.git
synced 2025-12-13 09:45:50 +00:00
anonymous form submissions
fixes anonymous form submissions (fixes https://github.com/ohmyform/ohmyform/issues/108)
This commit is contained in:
parent
18693be229
commit
ebc7d755b5
@ -17,6 +17,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
|
||||
- new card layout for forms
|
||||
- field logic
|
||||
- add enviroment config
|
||||
- anonymous form submissions (fixes https://github.com/ohmyform/ohmyform/issues/108)
|
||||
|
||||
### Changed
|
||||
|
||||
|
||||
@ -56,6 +56,14 @@ export const BaseDataTab: React.FC<TabPaneProps> = (props) => {
|
||||
>
|
||||
<Switch />
|
||||
</Form.Item>
|
||||
|
||||
<Form.Item
|
||||
label={t('form:baseData.anonymousSubmission')}
|
||||
name={['form', 'anonymousSubmission']}
|
||||
valuePropName={'checked'}
|
||||
>
|
||||
<Switch />
|
||||
</Form.Item>
|
||||
</Tabs.TabPane>
|
||||
)
|
||||
}
|
||||
|
||||
@ -84,6 +84,7 @@ export interface FormFragment {
|
||||
lastModified?: string
|
||||
language: string
|
||||
showFooter: boolean
|
||||
anonymousSubmission: boolean
|
||||
isLive: boolean
|
||||
fields: FormFieldFragment[]
|
||||
hooks: FormHookFragment[]
|
||||
@ -116,6 +117,7 @@ export const FORM_FRAGMENT = gql`
|
||||
lastModified
|
||||
language
|
||||
showFooter
|
||||
anonymousSubmission
|
||||
isLive
|
||||
|
||||
hooks {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user