Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Args being lost when sometimes when parent is living element. #12

Open
hxtree opened this issue Dec 23, 2021 · 1 comment
Open

Args being lost when sometimes when parent is living element. #12

hxtree opened this issue Dec 23, 2021 · 1 comment

Comments

@hxtree
Copy link
Contributor

hxtree commented Dec 23, 2021

Args (title, tier, image) are being lost when parent partial uses Twig theme indicate DOM element parsing inconsistencies.

<partial name="Page">

    <partial name="PageHeader">
        <arg name="title" type="string">Services</arg>
        <arg name="tier" type="int">1</arg>
        <arg name="image">/assets/images/dimension/800x300/offset/0,-20/gallery/developer.jpg</arg>
    </partial>

    <partial name="PageContent">
        <partial name="PageMainContent" class="editable">
            <h2>Consulting</h2>
            <p>We are not accepting new clients currently.</p>
        </partial>

        <partial name="PageSideBar">
            <nav name="QuickLinks" class="editable">
            </nav>
        </partial>
    </partial>

    <partial name="PageFooter"/>
</partial>
@hxtree
Copy link
Contributor Author

hxtree commented Dec 23, 2021

Issue only exists with child args it does not exist with DOM attributes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant