$rules = [ 'text' => 'max:10', ]
Validate by JS is ok . But laravel is not passed.
I realize the break line will be converted to
\r\n . That why php count it 2 .
Anyone know about this issue please give me the solution. Thank a lot !!!