If any elements are inside nestable elements that use render_builder(), it prevents the elements using the prop values when inside the builder. it just ignores them.
The issue is only happening when the nestable element uses render_builder() and so uses ‘bricks-element-children’ as the way to nest elements in the builder.
No issues on front end, it’s an issue with the vue templates only inside the builder.
Steps to reproduce..
Unfortunately as none of the Bricks native elements use this exact combination of both using render_builder AND being nestable, to reproduce you need to add a custom element that does. Here’s a plugin for a reduced test case, adding one test nestable element which does - GitHub - wplit/nestable-element-bricks · GitHub
- Create a component out of any elements, add some props, give them values so you can see them in the builder.
- Now nest those elements inside of the new nestable ‘test element’.
- You’ll notice the prop values now aren’t used, instead the original content before the prop was added will display.
Video showing it - Props not used inside builder when inside nestable element
Notice when I move the text and gallery inside the element, they immediately show the original ‘text here’ and the shoe images, rather than the correct values from the component prop options.
Moving them back outside of that nestable element, the prop values immediately show without issue.