From 0ce4174061b2bad2935d505641ccf9c02206545e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81ngel=20Rold=C3=A1n=20Mart=C3=ADnez?= Date: Tue, 19 Mar 2024 15:24:09 +0100 Subject: [PATCH] fix(BFormTags): limitTagsText props is not used fixes #1804 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit test(BFormTags): test limitTagsText Co-authored-by: Ángel Roldán Martínez --- apps/docs/src/docs/components/form-group.md | 62 +- apps/docs/src/docs/components/form-tags.md | 1330 ++++++++++++++++- apps/docs/src/docs/components/form.md | 18 +- .../src/components/BFormTags/BFormTags.vue | 8 +- .../components/BFormTags/form-tags.spec.ts | 29 + 5 files changed, 1417 insertions(+), 30 deletions(-) create mode 100644 packages/bootstrap-vue-next/src/components/BFormTags/form-tags.spec.ts diff --git a/apps/docs/src/docs/components/form-group.md b/apps/docs/src/docs/components/form-group.md index efe6222f9..78c4fc456 100644 --- a/apps/docs/src/docs/components/form-group.md +++ b/apps/docs/src/docs/components/form-group.md @@ -99,18 +99,56 @@ columns does not exceed `12`. See the [Layout and Grid System](/docs/components/layout#how-it-works) docs for further information. -| Prop | Description | -| ----------------- | --------------------------------- | -| `label-cols` | Applies to breakpoint `xs` up | -| `label-cols-sm` | Applies to breakpoint `sm` and up | -| `label-cols-md` | Applies to breakpoint `md` and up | -| `label-cols-lg` | Applies to breakpoint `lg` and up | -| `label-cols-xl` | Applies to breakpoint `xl` and up | -| `content-cols` | Applies to breakpoint `xs` up | -| `content-cols-sm` | Applies to breakpoint `sm` and up | -| `content-cols-md` | Applies to breakpoint `md` and up | -| `content-cols-lg` | Applies to breakpoint `lg` and up | -| `content-cols-xl` | Applies to breakpoint `xl` and up | + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
PropDescription
label-colsApplies to breakpoint xs up
label-cols-smApplies to breakpoint sm and up
label-cols-mdApplies to breakpoint md and up
label-cols-lgApplies to breakpoint xl and up
label-cols-xlApplies to breakpoint xl and up
content-colsApplies to breakpoint xs up
content-cols-smApplies to breakpoint sm and up
content-cols-mdApplies to breakpoint md and up
content-cols-lgApplies to breakpoint xl and up
content-cols-xlApplies to breakpoint xl and up
+Tags are added by clicking the Add button, pressing the Enter key or optionally when the change event fires on the new tag input (i.e. when focus moves from the input). The Add button will only appear when the user has entered a new tag value. + + + + +

Value: {{ basicUsageTags }}

+