TagTextBox
Represents a data field that displays a list of selectable and removable tags. The control recognizes tags as the user types and adds in front of the editable field.
Last updated
Was this helpful?
Represents a data field that displays a list of selectable and removable tags. The control recognizes tags as the user types and adds in front of the editable field.
Last updated
Was this helpful?
The Wisej.NET TagTextBox
enables users to select multiple values as tags.
The TagTextBox
control automatically resizes to fit its contents, including font size changes and tag overflow.
Enable horizontal growth by setting the MaximumSize
property.
The TagTextBox
control provides selection from preset items defined in the AutoCompleteList
property.
The drop down uses an <input> element with a specified <datalist>.
Configure tag limits using these properties:
MaxLength
: Maximum characters allowed in the edit control
MaxTagCount
: Maximum number of tags allowed
MaxTagWidth
: Maximum width in pixels for tag widgets
MinFieldLength
: Minimum characters that should fit in the editable portion before wrapping
Customize tag colors using the Theme Builder, a mixin, or direct code application.
The tagtextbox
appearance includes a tag
child component, customizable for different states.
Apply custom appearance using a project mixin:
Add the mixin definition to the /Themes directory in your project.
Modify the theme at runtime for custom TagTextBox
appearance:
Class name
"wisej.web.TagTextBox"
Theme Appearance
"tagtextbox", inherited from "textbox"
Child components
Toolcontainer state
Source code
"textfield" is the inner <input> widget. See
"editor", see