add . too app/Rules/DowranAgaAllowed.php
This commit is contained in:
@@ -14,7 +14,7 @@ class DowranAgaAllowed implements ValidationRule
|
||||
*/
|
||||
public function validate(string $attribute, mixed $value, Closure $fail): void
|
||||
{
|
||||
$pattern = "/^[a-zA-Z0-9\s\(\)\"\'\-\žŽäÄňŇöÖşŞüÜçÇýÝ\/,]+$/u";
|
||||
$pattern = "/^[a-zA-Z0-9\s\(\)\"\'\-\žŽäÄňŇöÖşŞüÜçÇýÝ\/,.]+$/u";
|
||||
|
||||
if (! preg_match($pattern, $value)) {
|
||||
$fail(__('Write a correct data please'));
|
||||
|
||||
Reference in New Issue
Block a user