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:
metonym 2022-08-05 04:50:40 -07:00 committed by GitHub
commit 7fe9b39436
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 10 additions and 0 deletions

View file

@ -19,6 +19,8 @@
on:change="{(e) => {
console.log(e.detail); // null | number
}}"
on:keydown
on:keyup
on:paste
/>