Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

clarify singleField comment

  • Loading branch information...
commit af05b0a62b86c86aa0f584b4dedced83948d01ad 1 parent 17a1917
@aehlke aehlke authored
Showing with 5 additions and 0 deletions.
  1. +5 −0 js/tag-it.js
5 js/tag-it.js
@@ -45,6 +45,11 @@
// When enabled, will use a single hidden field for the form,
// rather than one per tag. It will delimit tags in the field
// with singleFieldDelimiter.
+ //
+ // The easiest way to use singleField is to just instantiate tag-it
+ // on an INPUT element, in which case singleField is automatically
+ // set to true, and singleFieldNode is set to that element. This
+ // way, you don't need to fiddle with these options.
singleField: false,
singleFieldDelimiter: ',',
Please sign in to comment.
Something went wrong with that request. Please try again.