Skip to content

Commit f15d740

Browse files
authored
Merge pull request #2739 from nextcloud/2738-alloweditsubmissions-switch-doesnt-follow-archived-state
fix: disable edit switch when the form is archived
2 parents 1c6f53f + 58b7469 commit f15d740

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/components/SidebarTabs/SettingsSidebarTab.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
</NcCheckboxRadioSwitch>
2424
<NcCheckboxRadioSwitch
2525
:model-value="form.allowEditSubmissions"
26+
:disabled="formArchived"
2627
type="switch"
2728
@update:model-value="onAllowEditSubmissionsChange">
2829
{{ t('forms', 'Allow editing own responses') }}

0 commit comments

Comments
 (0)