Skip to content

Commit

Permalink
Make dropdown clearable.
Browse files Browse the repository at this point in the history
  • Loading branch information
tirkarthi committed Dec 26, 2024
1 parent 6428829 commit fe68b6f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion airflow/ui/src/pages/Run/TaskInstances.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,11 @@ export const TaskInstances = () => {
onValueChange={handleStateChange}
value={[filteredState ?? "all"]}
>
<Select.Trigger colorPalette="blue" isActive={Boolean(filteredState)}>
<Select.Trigger
clearable
colorPalette="blue"
isActive={Boolean(filteredState)}
>
<Select.ValueText>
{() =>
filteredState === null ? (
Expand Down

0 comments on commit fe68b6f

Please sign in to comment.