Skip to content

Textfield - error when binding an initial value #686

Open
@johan-timberit

Description

@johan-timberit

When setting an initial value on a textfield with variant="outlined" the label get striked through by the outer border.

It seems like it "gets broken". When clicking in the textbox it seems to fix it. Also if you reset another value after the form has been loaded it also seems to fix it.

Steps to reproduce the behavior:
Create a Svelte component with a Textfield with variant "outlined". Create a variable with a value. Bind it to the Textfield value attribute and run the app. The label will be striked through.,

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions