Loki Field Components

Jump to Developer Docs

A checkout uses a lot of form fields. The regular Loki Components are enhanced with this module to build fields. Each field has tooltips, validations, filtering and autosaving. And they are compliant with accessibility guidelines.

Examples of field components as part of the YireoTraining ExampleFieldComponents module
Examples of field components as part of the YireoTraining ExampleFieldComponents module

Configuration settings

Field settings > Use required block
yireo_loki_field_components/fields/use_required_block
Each required field could be styled with an additional required block. In Luma, this is nice. In Hyvä, this is not needed because the styling is done via CSS. This settings adds the block <code>loki-field-components.utils.required</code> when a field is required

Jump to Developer Docs

Last modified: May 14, 2025