How to populate a dropdown field in a global tailor blueprint dynamically?

I’d like to know where should the method to get the options, like I’d do in a regular model.

Hi @cecilia.ritta

You should be able to pass a static method as a string, where the class and method are separated by :: characters, for example:

    type: dropdown
    options: Path\To\Php\Class::staticMethod
1 Like

Thank you very much! Works perfectly!

1 Like