Skip to content

[TwigComponent] {% props syntax should allow dangling commas #1286

Closed
@weaverryan

Description

@weaverryan

Hi!

This currently errors:

{% props
    allowSmallWidth=false,
    closeButton=false,
%}

The problem is the dangling comma at the end of the list. If the last , is removed, this works fine. We should be a bit more friendly and allow this :).

Cheers!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions