Why is there no phx-value binding that takes an expression

I agree, I see no reason why it couldn’t work this way. It would be a nice addition IMO.