Skip to content

Commit

Permalink
Fix within input values
Browse files Browse the repository at this point in the history
  • Loading branch information
AaronPlave committed Jan 6, 2025
1 parent 4658bcf commit f8bea69
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -212,10 +212,11 @@
autocomplete="off"
/>
{:else if currentOperator === 'is_within' || currentOperator === 'is_not_within'}
{#if Array.isArray(currentValue)}
{#if Array.isArray(currentValue) && currentValue.length === 2}
<div class="range-input">
<Input class="dynamic-filter-input">
<input
value={currentValue[0]}
name="filter-value-min"
aria-label="value-min"
class="st-input w-100"
Expand All @@ -230,6 +231,7 @@
<div class="st-typography-label">To</div>
<Input class="dynamic-filter-input">
<input
value={currentValue[1]}
name="filter-value-max"
aria-label="value-max"
class="st-input w-100"
Expand Down

0 comments on commit f8bea69

Please sign in to comment.