php - Laravel set between digits in validation -


in simple use rules of laravel validator want check input between 1 , 10.

this below role not work correctly , accept zero

'required|integer|digits_between:1,10' 

or

'display_post_count' => 'required|min:1|max:10', 

you seem using digits_between need using between (docs).

'item' => 'required|integer|between:1,10', 

Comments

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -