You can use the min
and/or max
props to limit the range.
Numberinput
A simple number input with controls
Quantity is invalid
Rate is valid
# Types
# Min - Max
# Steps
# Sizes
# Customization
# API
Name | Description | Type | Values | Default |
---|---|---|---|---|
v-model | Binding value | String, Number | — | — |
type | Type (color) of the control, optional | String | is-white , is-black , is-light ,
is-dark , is-primary , is-info , is-success ,
is-warning , is-danger ,
and any other colors you've set in the $colors list on Sass | is-primary |
size | Vertical size of input, optional | String | is-small , is-medium , is-large | — |
expanded | Makes input full width when inside a grouped or addon field | Boolean | — | false |
loading | Add the loading state to the input | Boolean | — | false |
editable | Editable input | Boolean | — | true |
icon-pack | Icon pack to use | String | mdi, fa, fas, far, fab, fad, fal | mdi |
min | Minimum allowed value | Number, String | — | — |
max | Maximum allowed value | Number, String | — | — |
step | Incremental number step | Number, String | — | — |
controls-rounded | Show rounded controls | Boolean | — | false |
controls | Showing controls(+/-) | Boolean | — | true |
controls-position | Position of controls | String | compact | — |
Any native attribute | — | — | — | — |
This page is open source. Noticed a typo or something's unclear?