Feedback
Add a TagField desktop control for entering tags
- Status
- Fixed
- Fixed in
- v26.9.1
- Area
- -
- Source discussion
- https://forum.objo.dev/d/1035-tags
- Last updated
- 2026-09-08
Upvotes
0 upvotes
Uses your Objo forum account.
Public summary
Add a new desktop control, TagField, for entering tags. The user types text and commits it (Return, comma, or paste), and the committed text becomes a rounded, closeable chip ("tag"). Tags wrap onto multiple lines by default, can carry an application data object (like ListBox items), and support:
Textproperty round-tripping as comma-joined tags.- Case-insensitive duplicate rejection (
AllowDuplicates) and aMaximumTagslimit. - A
TagParsing(text) As Booleanevent for custom validation (e.g. email-style checks), with rejected text left in the editor. - A static suggestion list plus a
SuggestionNeeded(prefix) As String()event for dynamic autocomplete, offered below the editor with keyboard navigation. TagAdded,TagRemoved,TagPressed, and a unifiedChangedevent, matchingComboBox's event philosophy.- Read-only display mode, optional close widgets on chips, theme-aware chip colours.
Derived from the forum request "Tags" and Garry's Xojo control XUITagCanvas.