mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-14 18:01:06 +00:00
fix(number-input): forward keydown, keyup events (#1424)
Fixes #1421 `NumberInput` should forward the keydown and keyup events like other input components.
This commit is contained in:
parent
cae4629b98
commit
7fe9b39436
5 changed files with 10 additions and 0 deletions
|
@ -19,6 +19,8 @@
|
|||
on:change="{(e) => {
|
||||
console.log(e.detail); // null | number
|
||||
}}"
|
||||
on:keydown
|
||||
on:keyup
|
||||
on:paste
|
||||
/>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue