Skip to content

Commit

Permalink
prefer cache value
Browse files Browse the repository at this point in the history
  • Loading branch information
SKairinos committed Aug 30, 2024
1 parent 7325f14 commit 56c8fd9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/form/ApiAutocompleteField.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ const ApiAutocompleteField = <
// @ts-expect-error
if (search) arg[searchKey] = search

trigger(arg)
trigger(arg, true)
.unwrap()
.then(({ data, offset, limit, count }) => {
setState(({ options: previousOptions }) => {
Expand Down

0 comments on commit 56c8fd9

Please sign in to comment.