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

Attribute translate is not allowed in type array #39

Open
kamephis opened this issue Dec 14, 2022 · 1 comment
Open

Attribute translate is not allowed in type array #39

kamephis opened this issue Dec 14, 2022 · 1 comment

Comments

@kamephis
Copy link
Contributor

According to the types.xsd the type array is not allowed to have the attribute translate.

file etc/adminhtml/di.xml

    <virtualType name="AppearanceSourceFaqItem" type="Magento\PageBuilder\Model\Source\VisualSelect">
        <arguments>
            <argument name="optionsSize" xsi:type="string">large</argument>
            <argument name="optionsData" xsi:type="array">
                <item name="0" xsi:type="array">
                    <item name="value" xsi:type="string">default</item>
                    <item name="title" xsi:type="string" translate="true">Default</item>
                </item>
            </argument>
        </arguments>
    </virtualType>
@bdenham
Copy link
Collaborator

bdenham commented May 6, 2023

Hi @kamephis, can you submit a PR for this, by chance? If not, no worries. I can seek someone on our end to look. Thanks for submitting. Really sorry it's been dormant for so long. I will try to get to these issues and PRs much, much more quickly in the future.

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

2 participants