data_schema icon indicating copy to clipboard operation
data_schema copied to clipboard

Integrate with Phoenix Forms

Open Adzz opened this issue 3 years ago • 1 comments

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 avatar Dec 04 '21 18:12 Adzz

TODO

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

Adzz avatar Oct 17 '22 19:10 Adzz