Skip to content

Commit 9ca719c

Browse files
authored
fix: change num_code validation to maxLength(3) (EC-213)
1 parent bccdb1b commit 9ca719c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Filament/Clusters/World/Resources/CountryResource.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ public static function form(Schema $schema): Schema
7474

7575
TextInput::make('num_code')
7676
->numeric()
77-
->length(3)
77+
->maxLength(3)
7878
->label(__('eclipse-world::countries.form.num_code.label'))
7979
->helperText(__('eclipse-world::countries.form.num_code.helper')),
8080

0 commit comments

Comments
 (0)