fix input not disabling properly

This commit is contained in:
Peter Clement 2023-01-27 12:06:34 +00:00
parent d031a9157e
commit 4ed239e5fd
1 changed files with 2 additions and 2 deletions

View File

@ -101,7 +101,7 @@
<div <div
class:is-disabled={disabled || hbsValue.length} class:is-disabled={disabled || hbsValue.length}
class:is-focused={focus} class:is-focused={focus}
class="spectrum-Textfield " class="spectrum-Textfield"
> >
<svg <svg
class:close-color={hbsValue.length} class:close-color={hbsValue.length}
@ -120,7 +120,7 @@
<input <input
bind:this={field} bind:this={field}
disabled={false} disabled={hbsValue.length || disabled}
{readonly} {readonly}
{id} {id}
data-cy={dataCy} data-cy={dataCy}