Ash FrameworkAF
Ash Framework3y ago
5 replies
Jason

Passing validation arguments for the Form's underlying actions

How do I pass arguments in this line? I can't seem to find an example in the docs.
AshPhoenix.Form.validate(socket.assigns.form, params)

If action :create requires user_id as an argument, is it simply passed by including it in the params? like %{user_id: "12345"}
Was this page helpful?