Skip to content

Commit

Permalink
clarify singleField comment
Browse files Browse the repository at this point in the history
  • Loading branch information
aehlke committed Jun 14, 2011
1 parent 17a1917 commit af05b0a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions js/tag-it.js
Original file line number Diff line number Diff line change
Expand Up @@ -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: ',',
Expand Down

0 comments on commit af05b0a

Please sign in to comment.