mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-19 03:49:34 +00:00
Changing how the the input works. The value
is now binded to the input. Required, min, max and value are reative to error states.
This commit is contained in:
parent
1bcb4ac9eb
commit
83030543bf
3 changed files with 41 additions and 38 deletions
|
@ -33,7 +33,9 @@ Set `required` to `false` to allow for no value.
|
|||
|
||||
Set `value` to `null` to denote "no value."
|
||||
|
||||
Set `invalid` to `true` to set the input in `invalid` state.
|
||||
Set `invalid` to `true` to force a `error` state for the input.
|
||||
|
||||
The input is reactive to `min`, `max` and `required` attributes.
|
||||
|
||||
<FileSource src="/framed/NumberInput/NumberInputEmpty" />
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue