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
Post a Comment