• Resolved lopezacceseo

    (@lopezacceseo)


    Hi!

    Discovered a problem with containers from spectra blocks and the block-visibility

    I have a parent container and a text block. The text block shows an ACF field text (title 1 for example).

    The parent container has configured the BV block option “show this container if title 1 has any value”

    Unfortunately, the container is showed, if title 1 has value, or title 1 is empty

    • This topic was modified 6 months, 1 week ago by lopezacceseo.
    • This topic was modified 6 months, 1 week ago by lopezacceseo.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Nick Diego

    (@ndiego)

    Hi @lopezacceseo,

    Thanks for reaching out. I was not able to replicate the issue you are experiencing with the free version of Spectra and ACF. Can you check to make sure there is no an empty space in the title 1 field. The “Has any value” returns true is there are emply spaces in the field.

    If you continue to experience issues, can you share the version of WordPress that you are using as well as the version of Spectra and ACF?

    Thanks,
    Nick

    Thread Starter lopezacceseo

    (@lopezacceseo)

    Hi @ndiego

    Discovered what happens: if the field has blank spaces, the plugin considers it has content.

    Could be possible to trim() the field as an initialization?

    Thanks

    Jordi

    Plugin Author Nick Diego

    (@ndiego)

    Thanks for confirming.

    Could be possible to trim() the field as an initialization?

    And yeah, I will look into adding this in the next release.

    Best,
    Nick

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.