Skip to content

Form elements should have name property #643

Open
@simonh1000

Description

@simonh1000

Is your feature request related to a problem? Please describe.
Svelte puts a lot of emphasis on writing forms using html form syntax. That requires name properties to create the right data for <form method="POST"...> It doesn't look as though those can be added

Describe the solution you'd like
a name field on Radio, TextField, ... that is put onto the form element itself

Describe alternatives you've considered
I'm going to try using the current reactive values and attaching that to a hidden field

Additional context
Add any other context or screenshots about the feature request here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions