Skip to content

Commit

Permalink
set multiple default value to false for select widget
Browse files Browse the repository at this point in the history
  • Loading branch information
haroun committed Oct 27, 2023
1 parent 019f4ed commit 5ee552c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion modules/@apostrophecms/form-select-field-widget/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,13 @@ module.exports = {
allowMultiple: {
label: 'aposForm:selectAllowMultiple',
type: 'boolean',
def: true
def: false
},
size: {
label: 'aposForm:selectSize',
type: 'integer',
def: 0,
min: 0,
if: {
allowMultiple: true
}
Expand Down

0 comments on commit 5ee552c

Please sign in to comment.