select relationship
Resource relevant parts
In live view form_component i have form where i show select to select relationship
Input component
I dont understand why but selects does not hold their selected value. I can select one, but once i select other first looses value. For plain string value
Unrelated: for errors i had to do:
If some relevant info is missing please let me know, i will provide it.
In live view form_component i have form where i show select to select relationship
Input component
I dont understand why but selects does not hold their selected value. I can select one, but once i select other first looses value. For plain string value
AshPhoenix.Form.value(f, field) returns correct input value, but for selects not. Unrelated: for errors i had to do:
AshPhoenix.Form.errors(f, format: :simple, for_path: [])[field], because AshPhoenix.Form.errors(f, format: :simple) returned %{[] => %{key => value}}If some relevant info is missing please let me know, i will provide it.
