feat(number-input): forward focus, blur events to input (#1033)

This commit is contained in:
Eric Liu 2022-01-22 08:58:59 -08:00 committed by GitHub
commit 493568f08d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 11 additions and 1 deletions

View file

@ -215,6 +215,8 @@
on:input="{({ target }) => {
inputValue = target.value;
}}"
on:focus
on:blur
/>
<button
type="button"
@ -268,6 +270,8 @@
on:input="{({ target }) => {
inputValue = target.value;
}}"
on:focus
on:blur
/>
{#if invalid}
<WarningFilled16 class="bx--number__invalid" />