Skip to content

Commit

Permalink
fix: Select fuseOptions
Browse files Browse the repository at this point in the history
  • Loading branch information
lee-to committed Nov 13, 2024
1 parent 11aaf48 commit eee57a4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/UI/dist/assets/app.js

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions src/UI/resources/js/Components/Select.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,10 @@ export default (asyncUrl = '') => ({
itemSelectText: translates.choices.item_select,
uniqueItemText: translates.choices.unique_item,
customAddItemText: translates.choices.custom_add_item,
fuseOptions: {
threshold: 0,
ignoreLocation: true
},
addItemText: value => {
return translates.choices.add_item.replace(':value', `<b>${value}</b>`)
},
Expand Down

0 comments on commit eee57a4

Please sign in to comment.