Please activate JavaScript in your browser.
Feature
NPM Resource Changed
PR-5.3-dev
PR-6.1-dev
Pending
User tests:
Successful:
Unsuccessful:
Pull Request for Issue #46178
Summary of Changes
Added support for the data-fuse-threshold attribute in <select> elements used by joomla-field-fancy-select.
This allows the fuseOptions.threshold parameter of Choices.js to be configurable instead of fixed at 0.3.
Default remains 0.3 for backward compatibility.
Testing Instructions
Create a form XML field definition with layout="joomla.form.field.list-fancy-select".
Add the new attribute data-fuse-threshold="0.1" to the <field> element.
Load the form in the Joomla backend and try searching in the select box.
Compare the fuzzy search sensitivity with and without the data-fuse-threshold attribute.
Verify that when no attribute is set, the behavior falls back to the default 0.3.
Actual result BEFORE applying this Pull Request
fuseOptions.threshold was hardcoded to 0.3 and could not be adjusted.
Expected result AFTER applying this Pull Request
Developers can set a custom fuseOptions.threshold value via data-fuse-threshold.
If the attribute is missing, it falls back to 0.3.
Link to documentation
keep
-
open
-
1 Oct 2025
joomla-cms-bot
-
change
-
1 Oct 2025
Category
⇒
JavaScript
Repository
NPM Change
Labels
Added:
Feature
NPM Resource Changed
PR-5.3-dev
richard67
-
change
-
9 Oct 2025
richard67
-
change
-
9 Oct 2025
Title
Differences
…
Add configurable fuseOptions.threshold for Choices.js (issue #46178)
[6.1] Add configurable fuseOptions.threshold for Choices.js (issue #46178)
richard67
-
edited
-
9 Oct 2025
Add a Comment
Login with GitHub to post a comment
New features have to be made for the 6.1-dev branch.