move restProps from wrapper to input for TextInput and PasswordInput (#481)

* move restProps to input for TextInput and PasswordInput

* move restProps one line above
This commit is contained in:
Daniel Miedzik 2021-01-08 23:51:10 +01:00 committed by GitHub
commit a2287658dd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 6 additions and 6 deletions

View file

@ -86,7 +86,6 @@
class:bx--form-item="{true}"
class:bx--text-input-wrapper="{true}"
class:bx--password-input-wrapper="{!isFluid}"
{...$$restProps}
on:click
on:mouseover
on:mouseenter
@ -124,6 +123,7 @@
class:bx--password-input="{true}"
class:bx--text-input--light="{light}"
class:bx--text-input--invalid="{invalid}"
{...$$restProps}
class="{size && `bx--text-input--${size}`}"
on:change
on:input