Skip to content
New issue

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

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

Already on GitHub? # to your account

Integrate with Phoenix Forms #2

Open
Adzz opened this issue Dec 4, 2021 · 1 comment
Open

Integrate with Phoenix Forms #2

Adzz opened this issue Dec 4, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@Adzz
Copy link
Owner

Adzz commented Dec 4, 2021

We should investigate how best to do this or if this is desireable / possible. Seems like we would have to implement something that implements the Phoenix.HTML.FormData protocol perhaps. Effectively very similar to changesets at that point.

We should also think if this is to be used as a form validation layer how would it integrate to ecto further into the stack.
Could look here for inspiration: https://github.com/phoenixframework/phoenix_ecto/blob/master/lib/phoenix_ecto/html.ex

@Adzz Adzz added the enhancement New feature or request label Dec 4, 2021
@Adzz
Copy link
Owner Author

Adzz commented Oct 17, 2022

TODO

  1. implement a minimal repro where we implement HTML.FormData for a struct and get it working.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant