mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-19 11:59:34 +00:00
NumberInput step and visual problem.
Fixes #1554: Use the built-in function of steppers then assign the value
This commit is contained in:
parent
ae34451583
commit
efbff1dee6
3 changed files with 35 additions and 10 deletions
|
@ -23,6 +23,10 @@ See [#no-value](#no-value) to allow for an empty value.
|
|||
|
||||
<NumberInput min="{4}" max="{20}" value="{4}" invalidText="Number must be between 4 and 20." helperText="Clusters provisioned in your region" label="Clusters (4 min, 20 max)" />
|
||||
|
||||
## With step value
|
||||
|
||||
<NumberInput value="{1}" helperText="Step of 0.1" step={0.1} label="Clusters" />
|
||||
|
||||
## No value
|
||||
|
||||
Set `allowEmpty` to `true` to allow for no value.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue