I saw that there’s already a post regarding a bug in conditional visibility but this appears to be a separate issue. I have a div block set to display when an option field is turned on, but the page displays completely empty when the condition ISN’T met, and displays without the selected element when the condition IS met.
I’m using this for “related posts” on blog posts, and when there aren’t related posts (when the option is set to “No”) the page displays without any content and without any styling, including meta tags. When there are related posts (when the option is set to “Yes”) the element isn’t visible at all. I’ve included screenshots of each scenario in the designer and after publishing.
Hey @callmevlad, it looks like the issue is solved for when the condition is met now, but I’m still getting the same error when the condition isn’t met (images 3 and 4 above). When there is no content to display for the related posts on each blog page, there is no content or styling on the page after publishing.
The published page with the blog posts is at http://thecrayoninitiative.webflow.io/blog (one example of a page with an unmet condition that isn’t showing is here). The “[BLANK] As Art” posts should all have conditions met, and those are all showing up correctly, but other blog posts are displaying blank.
Now go to pages and select dynamic page linking to Current Blog Post.
For some reason it got “deattached”. Repeat such process for all dynamic item links. I will investigate further when such is happening. Can you let me know if you have made any snapshot restore lately?
I’m still getting the same issue after fixing those settings. On publish, the ones with the condition met are still showing up perfectly, but the ones without the condition met have no content or styling. It doesn’t appear to be an issue with linking to the “Current Blog Post” because the links are pulling the correct URL, there is just no content when the page finally loads. See the screenshots below.
There is another bug, I have link field in collection and I can’t choose Conditional visibility for the link, I can do it just for other fields. So i can’t choose “Visible if link is set”.
@cyberdave Could you please tell me if it’s already known bug?
Hi @MaciejIVE, thanks for the report. I just checked, but it is working for me. Do you have a site link that I can look at? (also can you post a screenshot of where the link is, and could you verify your browser/os info?
Setting the url to be taken from the link field and set the conditional visibility on the link field so that the element is visible when the link field is set.
I hope this helps, let me know if you have any further questions.