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!

eg.

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

Or

{{ bardfield }}
    {{ if type="myCustomSet" }}
         ... do something
         BREAK LOOP?
    {{ /if  }}
{{ /bardfield }}