You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unable to parse YAML metadata in themes/custom/arby/templates/patterns/base/input.twig. A colon cannot be used in an unquoted mapping value at line 7 (near "attributes: ~attributes({class: [ 'foo' ] })").
My component looks like:
{# @Component
name: Input
group: Base
description: An input form element
samples:
Button:
type: submit
attributes: ~attributes({class: [ 'foo' ] })
#}
FWIW, I'm on the latest version of Mannequin. I tried modifying the syntax within the curly braces in hopes of fixing it, but to no avail.
The text was updated successfully, but these errors were encountered:
I'm trying to use the attributes expression (https://mannequin.io/extensions/drupal/expressions/#attributes) but am encountering an error.
Unable to parse YAML metadata in themes/custom/arby/templates/patterns/base/input.twig. A colon cannot be used in an unquoted mapping value at line 7 (near "attributes: ~attributes({class: [ 'foo' ] })").
My component looks like:
FWIW, I'm on the latest version of Mannequin. I tried modifying the syntax within the curly braces in hopes of fixing it, but to no avail.
The text was updated successfully, but these errors were encountered: