Whether the duplication check should do a case sensitive check or not.ĭefaults to true. When removeConfirmation is enabled the user has to press the backspace key twice to remove the last tag.Īfter the first keypress the last tag receives a remove css class which can be used to visually highlight the tag.ĭefaults to false. If enabled, this will also make autocomplete.minLength default to 0 unless you override that, so that autocomplete can show up with a blank search.ĭefaults to false. Shows autocomplete when the tag input first receives focus, before the user even types anything. See the full list of available options here. It also positions autocomplete underneath tag input. The default autocomplete.source function filters the strings in availableTags and subtracts the already assigned tags. If you're using PHP, you may want to use something like itemName for this option's value. Tag-it accepts several options to customize its behaviour: fieldName (String)Įach tag's hidden input field will have this name. The old ZenDesk-like theme is included as an optional CSS file ( ). Tag-it is as easily themeable as any jQuery UI widget, using your own theme made with Themeroller, or one of the jQuery UI premade themes. There are several other possible configurations and ways to instantiate the widget, including one that uses a single comma-delimited input field rather than one per tag, so see the Options documentation below as well as the examples page (and its source) which demonstrates most of them, as well as the Tag-it Zendesk theme used in the screenshot above. This will turn the list into a tag-it widget.
0 Comments
Leave a Reply. |