We are moving our forum in GitHub Discussions. For questions about Phalcon v3/v4 you can visit here and for Phalcon v5 here.

Calling a model for select options in Volt

I know this can be done using the Phalcon Tag Helper, but, how about Volt:

{{ select('state', States::find(), // this part doesn't work
    'using' : ['abbr','abbr'],
    'value' : session.get('address_state'),
    'class' : 'input-block-level') }}

Volt its a view-friendly php syntax... and if you follow mvc pattern you dont want do that =)