Skip to content

Commit

Permalink
ui: forms - fix input issue in import field
Browse files Browse the repository at this point in the history
Signed-off-by: pamfilos <pamfilosf@gmail.com>
  • Loading branch information
pamfilos committed Dec 20, 2023
1 parent 5f2b9fd commit b1aebcf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/cap-react/src/antd/forms/fields/ImportDataField.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ const ImportDataField = ({ uiSchema, formData, onChange }) => {
setSearchPage(1);
};

const _onSearch = (value, event, { source }) => {
const _onSearch = (value, event, { source = "input" } = {}) => {
if (source == "input") {
fetchSuggestions();
}
Expand Down

0 comments on commit b1aebcf

Please sign in to comment.