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

LiveForm shouldn't crash when there is no id #31

Open
bcardarella opened this issue Feb 9, 2025 · 2 comments
Open

LiveForm shouldn't crash when there is no id #31

bcardarella opened this issue Feb 9, 2025 · 2 comments

Comments

@bcardarella
Copy link
Contributor

Image

Right now when no id is provided to <LiveForm the client crashes. Instead the form just shouldn't render and log out the issue.

@bcardarella
Copy link
Contributor Author

I keep forgetting, is the id value acutally necessary? If not then we should drop it as on web it isn't used for anything.

@bcardarella
Copy link
Contributor Author

Reading the source it appear that the id is used to store and retrieve the formModel. If that is the case can't a UUID be generated instead or will that id be necessary to be unique to that form during render updates?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant