Sometimes one needs to open a list page with url parameter that upon opening performs a search based on url parameter. The code below helps to achieve exactly that. (It needs to be inserted into page settings custom code area)
Ok thanks @artur i really believe if we can get this working properly you should look to promote it… intergrating cloud phone systems with Softr makes sense in so many ways for business portals
Generally speaking I would expect softr blocks to allow us to initialise their state.
If not, the snippet above sounds like a “good enough” solution if you know which event you want to dispatch but as I said this doesn’t seem to be working currently.
Thanks @artur,
My apologies for not reading the docs more carefully.
I have a followup question regarding the same ability for dropdowns (both single and multiselect). I can’t make it work by using the “filter-by-=” approach and I can see in the docs mentioned my filters need to be inline.
To answer my own question - both select and multiselect seem to be supported but make sure to use value specified in “Filter by” dropdown in softr admin.
I was using filter name but it wasn’t working.
Is there any way @artur to make HTML inputs, select to automatically insert their selection state into the URL?
Otherwise I’ll have to listen to these changes and manually create query params.