We have moved our forum to GitHub Discussions. For questions about Phalcon v3/v4/v5 you can visit here and for Phalcon v6 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 =)