3 Character Numeric Tags Populate Incorrectly in Suggestion Box

Operating system

Windows

Joplin version

3.0.12

Desktop version info

Joplin 3.0.12 (prod, win32)

Client ID: 98e9f579f6eb412ba0234b60c6bbef8e
Sync Version: 3
Profile Version: 47
Keychain Supported: Yes

Revision: a64d6e3

Backup: 1.4.1
Combine notes: 1.2.2
Hotfolder: 1.2.0
Victor: 1.0.3

Sync target

Joplin Cloud

Editor

Markdown Editor

What issue do you have?

Hi all,
When I add tags to notes I've noticed that numeric tags have an issue with 3 character length in the selection/suggestion box. I tag notes by number in a lot of cases for purposes of year (2024 and so on) and other reasons so when I click to add tags and type the tag, my default behavior is type the tag and hit enter (assuming I've typed the entire tag and not a portion of it).

What happens with 3 character numeric tags though is that the selection/suggestion box provides tags that are not related to the tag I've typed - even if I've typed it exactly. Instead of typing the tag and pressing enter, I have to type the tag, then click the tag somewhere in the list and move on from there. Screenshot attached describes it more visually.

Example: I type tag "2024" and the 2024 tag is displayed at the top of the list as it should. If I type tag "00" it also displays at the top of the list as it should. However, if I type tag "386" it displays 2024 & 344 both listed above the 386 tag choice. Others will sometimes have 4 and 5 tags listed before the actual tag I typed out - all numeric.

The tag selection box doesn't have this issue with 2 or 4 character numeric tags and so far I haven't seen an issue with non-numeric characters. It's mildly infuriating but if anyone has a fix for this I'd be thankful. Note: I have a long history using numeric tags so changing or adjusting my structure would be a non-starter.

Thanks!

Screenshots

numeric_tag_example.jpg

The same issue is now occurring with 4 digit numeric characters as tags.

  • Example: If I enter 2024 into the tag field I am prompted to choose 1997 as my first choice.

I feel like this is a functionality issue and should be investigated.

Other suggestions welcomed.