Open ahmetsmc opened 1 year ago
9.17
8.1.4
1.6.x-dev
5.7.39
I have a can translatable rich text editor
class Product extends Model { use Translatable; public $translatable = ['body']; }
Rich text editor validaton in BREAD
{ "validation": { "rule": [ "nullable", "sometimes" ] } }
Doesn't save cleanly when rich text editor has value in it
.
Try to add "sometimes" before "nullable" https://www.leonelngande.com/laravel-validation-sometimes-vs-nullable/
Laravel version
9.17
PHP version
8.1.4
Voyager version
1.6.x-dev
Database
5.7.39
Description
I have a can translatable rich text editor
Rich text editor validaton in BREAD
Doesn't save cleanly when rich text editor has value in it
Steps to reproduce
.
Expected behavior
.
Screenshots
.
Additional context
.