Skip to content

Commit 6caa0ba

Browse files
authored
chore(docs): fix typo in b-form-tags section on tag-state event
closes bootstrap-vue#4638 docs hotfix
1 parent 612f19e commit 6caa0ba

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/components/form-tags/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ not validated.
239239

240240
### Detecting new, invalid, and duplicate tags
241241

242-
The event `new-tags` will be emitted whenever new tags are entered into the new tag input element,
242+
The event `tag-state` will be emitted whenever new tags are entered into the new tag input element,
243243
tags that do not pass validation, or duplicate tags are detected. The event handler will receive
244244
three arrays as it's arguments:
245245

@@ -252,10 +252,10 @@ considered part of a tag), or when the user attempts to add a tag (i.e. via <kbd
252252
clicking the **Add** button, or entering a separator). The three arrays will be empty when the user
253253
clears the new tag input element (or contains just spaces).
254254

255-
If you are providing your own feedback for duplicate and invalid tags (via the use of the `new-tags`
256-
event) outside of the `<b-form-tags>` component, you can disable the built in duplicate and invalid
257-
messages by setting the props `duplicate-tag-text` and `invalid-tag-text` (respectively) to either
258-
an empty string (`''`) or `null`.
255+
If you are providing your own feedback for duplicate and invalid tags (via the use of the
256+
`tag-state` event) outside of the `<b-form-tags>` component, you can disable the built in duplicate
257+
and invalid messages by setting the props `duplicate-tag-text` and `invalid-tag-text` (respectively)
258+
to either an empty string (`''`) or `null`.
259259

260260
```html
261261
<template>

0 commit comments

Comments
 (0)