mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-18 11:36:36 +00:00
fix(search): only set autofocus attribute if equals true
This commit is contained in:
parent
d702c8fef0
commit
4397d852eb
1 changed files with 1 additions and 1 deletions
|
@ -108,7 +108,7 @@
|
|||
bind:this="{ref}"
|
||||
role="searchbox"
|
||||
class:bx--search-input="{true}"
|
||||
autofocus="{autofocus}"
|
||||
autofocus="{autofocus === true ? true : undefined}"
|
||||
autocomplete="{autocomplete}"
|
||||
disabled="{disabled}"
|
||||
id="{id}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue