Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Form elements should have name property #643

Open
simonh1000 opened this issue Jan 27, 2024 · 0 comments
Open

Form elements should have name property #643

simonh1000 opened this issue Jan 27, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@simonh1000
Copy link

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 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.

@simonh1000 simonh1000 added the enhancement New feature or request label Jan 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant