How to revalidate a nested AshPhoenix.Form update from an handle_event
I have this handle_event to update the value of a single nested for which has buttons to reset the input/set 50%/set100%:
Feels like i am doing too much, is the the update_params function not necessary?
Do I need to manually call validate or is there some opt that i am missing?
3 Replies
Solution
That looks like how you'd do it currently to me
ok was wondering if the update_params is more recent than the forum post 👍
We could add a
path
option to update_param
to remove a nesting level