We have moved our forum to GitHub Discussions. For questions about Phalcon v3/v4/v5 you can visit here and for Phalcon v6 here.

Tag setDefaults ignores text_area with nested array name

Hi,

I'm building a form where I have nested models in it using name property on text_area like this:

{{ text_area('accountGroupComments[' accountGroupId ']', 'placeholder': 'Comments', 'class': 'form-control') }}

in controller I use Tag::setDefaults with previous request data passed from session (much like laravel?) text_area is not populated with value from nested array. Is it a bug or am I missing something?



1.3k

This flag as new featured, and requested by me https://github.com/phalcon/cphalcon/issues/10314