Skip to content

Commit

Permalink
Additional fix for type: number field, set default to min: 0.
Browse files Browse the repository at this point in the history
  • Loading branch information
bobdenotter authored Jun 21, 2022
1 parent b847ffb commit 6e10b85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Configuration/Content/FieldType.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ protected static function defaults(): Collection
'maxlength' => '',
'autocomplete' => true,
'values' => [],
'min' => 1,
'min' => 0,
'max' => 1000,
]);
}
Expand Down

0 comments on commit 6e10b85

Please sign in to comment.