Devtools: <b-form-group> is not nested in <b-form>
See original GitHub issueDescribe the bug
I wrote a component that leverages <b-form> and <b-form-group> but I can’t understand why <b-form-group> is rendered outside <b-form> inside Vue Inspector
Steps to reproduce the bug
Basically this is the code

And this is the inspector

Expected behavior
<b-form-group> should be nested inside <b-form>
Versions
Libraries:
- BootstrapVue: 2.0.0-rc26
- Bootstrap: 4.3
- Vue: 2.6.10
Environment:
- Device: [e.g. Mac or iPhone X] PC
- OS: [e.g. macOS Mojave or iOS 12] Windows 10 using Docker
- Browser: [e.g. Chrome] Chromium
- Version: [e.g. 70] Edge v 0.77
Demo link
//
Additional context
//
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Nested angular forms can't find FormGroup - Stack Overflow
For nested formGroups, use formGroupName not formGroup .
Read more >3 Approaches for Implementing Nested Forms in Angular
Approach 1: Pass FormGroup reference to child components using @Input. This is the most common approach that I've seen being used. We start...
Read more >Angular: Nested Reactive Forms Using ... - Medium
In this post, we will see how to implement nested reactive forms using composite ... on Reactive Forms mainly FormGroups, FormControls, Validations etc....
Read more >FormGroupName - Angular
Use nested form groups to validate a sub-group of a form separately from the rest or to group the values of certain controls...
Read more >Nested Reactive Forms Using ControlValueAccessors(CVAs)
Since our form control (component) doesn't falls in any these categories, angular compiler throws error stating no value accessor is found. If you...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

One thing about Vue Devtools is that it shows the parent hierarchy based on the scope of app/component.
i.e. a child component exists in the component/app scope that it was created in.
b-formis functional (has nothiscontext), as isb-cardandb-card-body. Transition is an abstract component. So if you were to inspect theb-form-group(which is not functional) root element in chrome inspector, and check it’sthis.$parent, the first real non-functional component$parentis tour custom component.In chrome inspector, highlight the first b-form-group root element (the
fieldset), then in the console type$0.__vue__.$parentyou will see that your app component is it’s parent.Vue devtools doesn’t show components in their DOM hierarchy, but rather by their
this.$parenthierarchy.That’s interesting thanks for sharing