mirror of
https://github.com/flarum/framework.git
synced 2025-02-28 02:05:26 +08:00
Use correct validation rules for description. closes flarum/core#793
This commit is contained in:
parent
873b9fd780
commit
fb67393f81
@ -21,7 +21,7 @@ class TagValidator extends AbstractValidator
|
||||
'name' => ['required'],
|
||||
'slug' => ['required', 'unique:tags'],
|
||||
'isHidden' => ['bool'],
|
||||
'description' => ['text|max:700'],
|
||||
'description' => ['string', 'max:700'],
|
||||
'color' => ['regex:^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$'],
|
||||
];
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user