This is my first post on this wonderful community.
My question is about the filters. I have some parameters called categories that I would like to be used for the filtering of the results of my list block. Unfortunately some of these names are too long and they only show the first caracters of these strings.
Have you encountered the same issue and did you find a way to go around it?
Thanks in advance and happy to be part of this community!
Instead of making it a dropdown filter, have you tried the tag filter or vice versa?
Or make a form where you can select the filters and search (modals etc have much more space for dropdowns) and when submit you open up the list but with added params for filtering see here (or do this with actual buttons in a CTA block.
The categories names are fixed and independent from me. I have to work with the suggested options so unfortunately this is not possible.
The tag filter is not possible (though that would have been great) because I have more than 30 categories and you donât wanna see them at all times available.
The third option seems much more viable though I am not sure how to implement this. Do you have an example to share?
Not nessecarely an example but here is a logic path you can follow (this is no-code, @matthieu_chateau is there an easier way with code snippet?)
If you have that many filter options, making seperate Call To Action buttons for each is not going to help you. Lets explore the option with a form.
I am going to assume your user is logged in for this example and you use airtable as your datasource.
Go to make.com and create an account. Then a new scenario, add a module > webhook. Create a webhook and copy it.
add a new page called âsubmitâ in SOFTR .
Add a form block on the page where your search starts, data source set to : make and add the custom webhook adress.
add in airtable a formula column called RecordID in your Users table (its important you have this synced with SOFTR). The formula is: RECORD_ID()
Also add in airtable a URL column called Filtered URL
In the Form block in SOFTR create 2 fields, one hidden field with > record id : logged in user > RecordID, the other field is a Dropdown field. You will have to manually type in all options (they are case sensitive). Keep it single select for this example.
On submit action is open page > the newly made page called: submit.
In the submit SOFTR page add in a conditional filter in the source tab: If email is logged in user > email
Remove all fields on the list details but add only an action button: Open URL. You can then select open URL field > Filtered URL. The action button will seem out of place, so maybe add some static blocks to make this either a confirmation page or maybe an upselling opportunity.
In make.com create a scenario with the following modules :
Receive webhook module (with previous webhook) â Airtable Update Record (RecordID = RecordID that is send through the webhook, FilteredURL = https://yoururl.com/yourlistpage? filter-by-fieldName=fieldValue
make sure that the fieldValue is the variable of the key-value pair that is send to make. Replace the URL with your own domain and the filter-by-fieldName is i think in your case :âCategoriesâ ? It is a big workaround and there is a case to be made that in terms of user experience having to click 2 buttons to filter a list isnât the best, but this is how I would do it in a no-code way.
This problem is more of a Softr bug, IMO, and it has to be listed as a bug report.
@Viktoria@Jjenglert => this is a problem I saw for other people. I think this is happening only for the new (beta) blocks. There is a need for a fix so that if the text of a filter is too long there should be a line break.
@matthieu_chateau This is actually a very useful information. Because if itâs linked to beta feature, I will change the block type that I am using to be able to use this in an easy way without having to connect to Make and involve an external tool again.
@Workflowheroes_Marc thank you very much for taking the time to take me through the whole process!
@matthieu_chateau I notice another bug. I have used a not âbeta blockâ called âList with vertical cards and descriptionâ to do the above. I notice that when I turn off the sync with data, the line break doesnât show and instead I face the same issue as with the beta block!
The problem was that I need to not sync this data with the source in airtable because I need to filter some of this data out. Any solution?
No solution unfortunately, though I expect Softr engineering team to solve this as fast as possible (This is the type of small bugs that make an app unusable )
@matthieu_chateau what you shared is pretty long one and I guess for tags should be fine to limit ? I thought we indeed have a bug and show only few charsâŠ
The problem by limiting the size of tags is that companies need to adapt their tags accordingly⊠And they are not willing to do this / donât understand why they should do it. Softr should adapt to the business operations - whatâs already existing, not the opposite.
Whether it is graphically better or not, when businesses comes to Softr they come for usability at first. These are small details that make decision-makers nervous when building a Softr app and will result to two thoughts:
Softr is limited, we will see next year if we can move from it.
Okay for now, there is no time to check another no-code builder, but I will have to explain this to my team = more time spent.
Changing a tag used by teams for months just because Softr forces it, thatâs not the best deal to offer. For them changing tags is not something they thought they would have to think of (obviously).
Just let the apps built in Softr be not as pretty as it could be => usability first - adaptation to existing operations first.
This was not the case before anyway, with old blocks there is no such size limitation for tags.
This is exactly the same for filters by the way, that are truncated if too long. Problematic again.
@matthieu_chateau fair point, though people use tools daily and most if not all really limit otherwise every tool will look like a monster the UI should not just follow the data but rather find a compromise between good looking and functional.
@artur this is what I mean.
I have the following tag in airtable but it doesnât render them correctly in Softr.
This behavior is shown not only for beta blocks but also for âoldâ ones.
Okay these filters are a bit more wordy than anticipated. In my previous response you will have to encodeURL the fieldvalue , urls dont handle spaces and periods.
Giving the choice would be the best and would still meet the goal to find a good balance.
Just like the âwrap tagsâ option with a switch button there could be an âAllow Line breakâ switch button for tags.
Again, for tags and filters this is problematic as it is about data readability for end users.
Just following up to let you all know that weâve discussed this internally, and are working on preparing a solution that fits with our design framework. Will update when we have more information.