Parse a new FilterForm from url params
I don't know if I'm missing something, but I can't find a way to fetch the components from a filter form as a map to add it as params for the URL query and then parse it back to a new FilterForm from these same params?
For example, let's say I have a FilterForm with 2 predicates, I want to extract that information into a map so I can use it to form my url like this:
And then, inside a
For example, let's say I have a FilterForm with 2 predicates, I want to extract that information into a map so I can use it to form my url like this:
And then, inside a
handle_params, get that filter_params back and recreate that same FilterForm: