Skip to content

Commit

Permalink
Merge pull request #3252 from bolt/fix/min-zero
Browse files Browse the repository at this point in the history
Additional fix for `type: number` field, set default to `min: 0`.
  • Loading branch information
xiaohutai authored Jun 21, 2022
2 parents b847ffb + 6e10b85 commit 7b8d36f
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 7b8d36f

Please sign in to comment.