Skip to content

Yielded Components render as Class instead of propertyΒ #337

@ilovethebends

Description

@ilovethebends

It seems that for glimmer emblem treats nested properties as classes.

% MyForm::MyFormGroup as |formGroup|
	%formGroup.label @name="Ed"

label gets compiled into a class instead of a property on formGroup

<MyForm::MyFormGroup as |formGroup|>
  <formGroup @name="Ed" class="label"></formGroup>
</MyForm::MyFormGroup>

The other issue I'm finding is that %formGroup.label @name="Ed" gets translated into a block component instead inline.

Thanks in advance!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions