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 4b54f55 commit d4d0319Copy full SHA for d4d0319
src/nextapp/components/products-list/dataset-input.tsx
@@ -52,7 +52,9 @@ const DatasetInput: React.FC<DatasetInputProps> = ({ dataset }) => {
52
[setSearch]
53
);
54
const handleBlur = () => {
55
- if (search.trim()) {
+ if (selected) {
56
+ setSelected(selected);
57
+ } else if (search.trim()) {
58
const result = data?.allDatasets.find((d) => {
59
if (search.trim()) {
60
return d.title.toLowerCase() === search.toLowerCase();
0 commit comments