-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Combo field should suggest values that almost match the input #8802
Copy link
Copy link
Closed
Labels
enhancementAn enhancement to make an existing feature even betterAn enhancement to make an existing feature even betterfieldAn issue with a field in the user interfaceAn issue with a field in the user interfaceusabilityAn issue with ease-of-use or designAn issue with ease-of-use or design
Metadata
Metadata
Assignees
Labels
enhancementAn enhancement to make an existing feature even betterAn enhancement to make an existing feature even betterfieldAn issue with a field in the user interfaceAn issue with a field in the user interfaceusabilityAn issue with ease-of-use or designAn issue with ease-of-use or design
Type
Fields
Give feedbackNo fields configured for issues without a type.
If I type
desigantedinto the Allowed Access field orportugeseinto the Cuisine field, the suggestions should include near matches such asdesignatedandportuguesebased on an edit distance to known values. This might be difficult for combo fields that get their suggestions from taginfo, but predefinedoptionsfrom id-tagging-schema could still participate in the same kind of fuzzy matching as presets in the search bar or fields in the More Fields dropdown.iD/modules/presets/collection.js
Lines 130 to 132 in fc6c711
Fuzzy matching would keep id-tagging-schema from having to maintain an index of likely typos, as in openstreetmap/id-tagging-schema#266.