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
The text was updated successfully, but these errors were encountered:
nael94
changed the title
Issue: feeding php variables or operation results in a component
Issue: attributes that passed into custom components are dahes-trimmed
Aug 10, 2024
nael94
added a commit
to nael94/crow
that referenced
this issue
Aug 10, 2024
… dashed attributes won't be camelCased anymore due to ability to user custom data attributes, also introduced $this->getAttributesParsed() passed through custom component by $attributesParsed.
Okay I've solved this issue and did essential change in parsing attributes behavior: dashed attributes are no longer parsed to camelCase for using data-* attributes as well.
When passing attributes into the custom component, all dashes are trimmed like this:
This outputs:
The text was updated successfully, but these errors were encountered: