Skip to content

Text component has missing name attribute #21

@mkyral

Description

@mkyral

Hi,
I'm trying to make a simple form as described in Sveltekit documentation, but formData are empty because I'm not able to set name attribute in <Text> component.

As per documentation - without name attribute, content is not sent.

    <form method="post" action="?/signInEmail" use:enhance>
    <Card>
        <Field label="Login name" position="left">
            <Text name="email" type="email" />
        </Field>
        <Field label="Password" position="left">
            <Text name="password" type="password" />
        </Field>
        <Button>Login</Button>
    </Card>
    </form>

Is it possible to add it?
Thanks

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