Skip to content

Bare minimum setting to create Loki admin component form not working. #12

@rajeev-k-tomy

Description

@rajeev-k-tomy

With bare minimum settings to create a loki admin component form, it fails due to below error:

Loki\AdminComponents\Form\Fieldset\FieldsetFactory::create(): Argument #2 ($label) must be of type string, null given, called in /var/www/html/src/lib/packages/integer-net/Loki_AdminComponents/Component/Form/FormViewModel.php on line 101

Bare minimum setting is:

<?xml version="1.0" encoding="UTF-8" ?>
<components xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Yireo_LokiComponents:etc/loki_components.xsd">
    <component
        name="yireo-training.example-admin.form"
        viewModel="Loki\AdminComponents\Component\Form\FormViewModel"
        repository="Loki\AdminComponents\Component\Form\FormRepository">
    </component>
</components>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions