Find first of type (set) in bard content

Hi all!

Is there a way to filter/limit a bard-field content based on a given set ? Or is there a way to break out of the loop after finding the first type of set? I've been trying to create a custom modifier but haven't succeeded (yet). Any help or ideas how to achieve that are much appreciated, thanks!


{{ bardfield filterContentByType="myCustomSet" limit="1"}}
         ... do something
{{ /bardfield }}


{{ bardfield }}
    {{ if type="myCustomSet" }}
         ... do something
         BREAK LOOP?
    {{ /if  }}
{{ /bardfield }}
>>>>>>> Unanswered <<<<<<<
2 Replies