Permalink
Browse files

clarify singleField comment

  • Loading branch information...
1 parent 17a1917 commit af05b0a62b86c86aa0f584b4dedced83948d01ad @aehlke aehlke committed Jun 14, 2011
Showing with 5 additions and 0 deletions.
  1. +5 −0 js/tag-it.js
View
@@ -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: ',',

0 comments on commit af05b0a

Please sign in to comment.