fix input not disabling properly
This commit is contained in:
parent
d031a9157e
commit
4ed239e5fd
|
@ -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}
|
||||||
|
|
Loading…
Reference in New Issue