We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4a6687d commit 81c5ae8Copy full SHA for 81c5ae8
src/components/FieldCatalog.tsx
@@ -95,6 +95,11 @@ const FieldCatalog = ({ fields }: { fields: Fields }) => {
95
placeholder="Search fields"
96
value={filters.search}
97
onChange={(e) => setFilters({ ...filters, search: e.target.value })}
98
+ onKeyDown={(e: React.KeyboardEvent<HTMLInputElement>) => {
99
+ if (e.key === "Escape") {
100
+ setFilters({ ...filters, search: "" });
101
+ }
102
+ }}
103
/>
104
105
<div className="mb-8! hidden md:block">
0 commit comments