You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3-3
Original file line number
Diff line number
Diff line change
@@ -121,11 +121,11 @@ Boolean parameter to control whether the text-input should be automatically resi
121
121
122
122
#### delimiters (optional)
123
123
124
-
Array of integers matching keyboard event `keyCode` values. When a corresponding key is pressed, the preceding string is finalised as tag. Default: `[9, 13]` (Tab and return keys).
124
+
Array of integers matching keyboard event `keyCode` values. When a corresponding key is pressed, the preceding string is finalised as tag. Best used for non-printable keys, such as the tab and enter/return keys. Default: `[9, 13]` (Tab and return keys).
125
125
126
126
#### delimiterChars (optional)
127
127
128
-
Array of characters matching keyboard event `key` values. This is useful when needing to support a specific character irrespective of the keyboard layout. Note, that this list is separate from the one specified by the `delimiters` option, so you'll need to set the value there to `[]`, if you wish to disable those keys. Example usage: `delimiterChars={[',', ' ']}`. Default: `[]`
128
+
Array of characters matching characters that can be displayed in an input field. This is useful when needing to support a specific character irrespective of the keyboard layout, such as for internationalisation. Example usage: `delimiterChars={[',', ' ']}`. Default: `[',', ' ']`
129
129
130
130
#### minQueryLength (optional)
131
131
@@ -156,7 +156,7 @@ Override the default class names. Defaults:
156
156
157
157
#### handleAddition (required)
158
158
159
-
Function called when the user wants to add a tag. Receives the tag.
159
+
Function called when the user wants to add one or more tags. Receives the tag or tags. Value can be a tag or an Array of tags.
0 commit comments