mirror of
https://github.com/flarum/framework.git
synced 2025-01-20 02:52:44 +08:00
Fix validation of "hidden" checkbox not working
This commit is contained in:
parent
49504da31e
commit
99c62ccdb0
|
@ -21,7 +21,7 @@ class TagValidator extends AbstractValidator
|
|||
protected $rules = [
|
||||
'name' => ['required'],
|
||||
'slug' => ['required', 'unique:tags'],
|
||||
'isHidden' => ['bool'],
|
||||
'is_hidden' => ['bool'],
|
||||
'description' => ['string', 'max:700'],
|
||||
'color' => ['regex:/^#([a-f0-9]{6}|[a-f0-9]{3})$/i'],
|
||||
];
|
||||
|
|
Loading…
Reference in New Issue
Block a user