Skip to content
This repository was archived by the owner on Mar 27, 2025. It is now read-only.

Commit bf6e082

Browse files
authored
fix(BFormNav): not wrapped in li fixes bootstrap-vue-next#1346 (bootstrap-vue-next#1347)
fix(BFormNav): not wrapped in li fixes bootstrap-vue-next#1346
1 parent 74f5154 commit bf6e082

File tree

1 file changed

+18
-11
lines changed

1 file changed

+18
-11
lines changed

packages/bootstrap-vue-next/src/components/BNav/BNavForm.vue

+18-11
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,28 @@
11
<template>
2-
<BForm
3-
:id="id"
4-
:floating="floating"
5-
:role="role"
6-
:novalidate="novalidate"
7-
:validated="validated"
8-
class="d-flex"
9-
@submit.prevent="submitted"
10-
>
11-
<slot />
12-
</BForm>
2+
<li class="container-fluid">
3+
<BForm
4+
v-bind="$attrs"
5+
:id="id"
6+
:floating="floating"
7+
:role="role"
8+
:novalidate="novalidate"
9+
:validated="validated"
10+
class="d-flex"
11+
@submit.prevent="submitted"
12+
>
13+
<slot />
14+
</BForm>
15+
</li>
1316
</template>
1417

1518
<script setup lang="ts">
1619
import type {BFormProps} from '../../types'
1720
import BForm from '../BForm/BForm.vue'
1821
22+
defineOptions({
23+
inheritAttrs: false,
24+
})
25+
1926
withDefaults(
2027
defineProps<
2128
{

0 commit comments

Comments
 (0)