Preprocessing values for inputs in a Phoenix (LiveView) form

Well, because I don’t know any better at the moment

This is editing an existing record and I see the values of the record are in fact there but for some not obvious to me yet reason I am unable to use them as argument to functions. I can put them directly as value: f.data.field though…

Heck, I am not even sure if this is what I should be doing as it feels “hacky” to me