Advanced Forms
The Input Number component, also known as the Quantity Selector, is designed for instances where users need to specify quantities. It's ideal for selecting the number of products before adding to a cart or choosing seat numbers on a pricing page. With user-friendly increment and decrement controls, this component makes numerical data entry straightforward and efficient in e-commerce and various other applications.
Note that this component requires the use of our Input Number plugin, else you can skip this message if you are already using Preline UI as a package.
Add the disabled
boolean attribute on an input to remove pointer events, and prevent focusing.
Set the maximum value with the max
option. n this example, the maximum value is set to 10
.
It provides valuable, actionable feedback to your users with HTML5 form validation.
Out of limit