Level 63
Yes it's possible.
You pass the min and the max values to the view.
<input type="number" min="{{ $min }}" max="{{ $max }}" />
1 like
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Hello. I have a blade view with a form which has a field of type number. Quantity: Is it possible to have dynamic min and max values calculated by the controller's method?
Please or to participate in this conversation.