sort_param doesn’t support such a usecase. It works from a mapping on a single form key to indexes, so there’s no way to pass any additional data.
The approach taken in One-to-Many LiveView Form | Benjamin Milde might work for you.
sort_param doesn’t support such a usecase. It works from a mapping on a single form key to indexes, so there’s no way to pass any additional data.
The approach taken in One-to-Many LiveView Form | Benjamin Milde might work for you.