Skip to content

Can't set type for input tag.  #620

@stalkerg

Description

@stalkerg

I am tring to generate input tag:

<input type="{{cond.field_type}}" placeholder="constant"
       value="{{cond.const}}" on:change="setCondConst(index, this)">

but svelte plugin output:

'svelte' plugin: 'type must be a static attribute

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