html5 - Set range for number input in Laravel -


i have type of input in view:

form::number('name', 'value');

but set max , min values it, can't seem find way using blade.

in html:

<form action="/action_page.php">     <input type="number" name="quantity" min="1" max="5">     <input type="submit"> </form> 

you can follows:

{{form::number('name', 'value',['min'=>1,'max'=>5])}} 

hope helps you.


Comments