Skip to content

Commit

Permalink
Merge pull request bagisto#10402 from phyothiha/issues#10370
Browse files Browse the repository at this point in the history
add proper validation rule
  • Loading branch information
devansh-webkul authored Dec 17, 2024
2 parents 79f060d + 3947c8e commit fbdf934
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/Webkul/Admin/src/Config/system.php
Original file line number Diff line number Diff line change
Expand Up @@ -2014,7 +2014,7 @@
'name' => 'invoice_number_length',
'title' => 'admin::app.configuration.index.sales.invoice-settings.invoice-number.length',
'type' => 'text',
'validation' => 'numeric',
'validation' => 'numeric|min:0|max:10',
'channel_based' => true,
'locale_based' => true,
], [
Expand Down

0 comments on commit fbdf934

Please sign in to comment.