Skip to content

Commit

Permalink
issue 719: fixed numeric pattern (#720)
Browse files Browse the repository at this point in the history
Co-authored-by: Janusz Paszyński <[email protected]>
  • Loading branch information
Eloar and Janusz Paszyński authored Feb 29, 2024
1 parent cdd3922 commit 916b83d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Kris/LaravelFormBuilder/RulesParser.php
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ protected function numeric()
}

return [
'pattern' => '[-+]?[0-9]*[.,]?[0-9]+',
'pattern' => '[\\-+]?[0-9]*[.,]?[0-9]+',
'title' => $this->getTitle('numeric'),
];
}
Expand Down

0 comments on commit 916b83d

Please sign in to comment.