Skip to content

Multiline Block component with Angle Bracket syntax doesn't work #332

@musaffa

Description

@musaffa

Component invocation without Angle Bracket works:

= image-cropper [                                             
  source=this.previewSrc
  options=@options
] as |cropper|
  = cropper.on 'crop' action=(action 'crop')

Invocation with Angle Bracket syntax doesn't work:

% ImageCropper [
  @source=this.previewSrc
  @options=@options
] as |cropper|
  = cropper.on 'crop' action=(action 'crop')

But if I make it a single line, then it compiles without an issue:

% ImageCropper @source=this.previewSrc @options=@options as |cropper|
  = cropper.on 'crop' action=(action 'crop')

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