Skip to content

Commit

Permalink
only one form in form widget relationship
Browse files Browse the repository at this point in the history
  • Loading branch information
haroun committed Oct 11, 2023
1 parent cb72eff commit 63477e0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ We use the default express connect-multiparty size limits. The rule is checked b
This can now be disabled.
* Add divider widget (`<hr>` tag) to form widgets.

### Fixes

* We can now select only one form when editing the form widget relationship to form field ('Form to display').

## 1.1.1 (2023-02-17)

### Fixes
Expand Down
3 changes: 2 additions & 1 deletion modules/@apostrophecms/form-widget/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ module.exports = {
label: 'aposForm:widgetFormSelect',
type: 'relationship',
withType: '@apostrophecms/form',
required: true
required: true,
max: 1
}
}
},
Expand Down

0 comments on commit 63477e0

Please sign in to comment.