YireoTraining_ExampleLokiFieldComponents

Examples

Example module to demonstrate various use-cases of Loki FieldComponents, as being used in the Yireo LokiCheckout extension suite for Magento 2.

Installation

Install this package via composer (assuming you have setup the composer.yireo.com repository correctly already):

composer require yireo-training/magento2-example-loki-field-components

Next, enable this module:

bin/magento module:enable YireoTraining_ExampleLokiFieldComponents

Support

For getting support, create an Issue under the following project URL:

https://gitlab.yireo.com/loki-checkout/YireoTraining_ExampleLokiFieldComponents

Loki Components

The following LokiComponents are created or references in this module:

example-loki-field-components example-loki-field-components.input_text example-loki-field-components.input_number example-loki-field-components.input_color example-loki-field-components.input_date example-loki-field-components.input_datetime example-loki-field-components.input_password example-loki-field-components.input_tel example-loki-field-components.input_url example-loki-field-components.input_email example-loki-field-components.textarea example-loki-field-components.checkbox example-loki-field-components.radio example-loki-field-components.select example-loki-field-components.multiselect example-loki-field-components.switch example-loki-field-components.range
Module Dependencies

The following dependencies are declared in the module its `etc/module.xml` file:

YireoTraining_ExampleLokiComponents Loki_FieldComponents Loki_Components
Composer details
Magento module name
YireoTraining_ExampleLokiFieldComponents
Composer name
yireo-training/magento2-example-loki-field-components
Composer version
0.0.5
Default branch
main
Requirements
ext-json: *
loki/magento2-components: ^2.0
loki/magento2-field-components: ^2.0
magento/framework: ^103.0
magento/module-customer: ^103.0
magento/module-store: ^101.1
yireo-training/magento2-example-loki-components: ~0.0
Releases
dev-main 27 August 2025
0.0.5 21 August 2025
0.0.4 18 August 2025
0.0.3 28 July 2025
0.0.2 24 July 2025
0.0.1 22 July 2025
Changelog

[0.0.5] - 21 August 2025

Fixed

  • Declare used PHP namespaces
  • Add escaping of template code
  • Fix all CSS todos
  • Declare used PHP namespaces
  • Document latest version of template

[0.0.4] - 18 August 2025

Fixed

  • Add Dutch translations

[0.0.3] - 28 July 2025

Fixed

  • Set page layout of demo pages to 1column

[0.0.2] - 24 July 2025

Fixed

  • Loosen up constraint

[0.0.1] - 22 July 2025

  • Initial release

Last modified: April 30, 2025