You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a content type with a collection of sets. If I only add 1 set in that collection, i'm not able to iterates over that collection with for loop; the code inside the loop will never execute.
I suppose this happens because the array is never created if its just one set. An array should always be returned, this way the template developer doesn't need to duplicate code to catch the 1 set case.
| Relevant Bolt Version | version4.0.0 RC 17
| Install type | Composer install
| BC Break | yes/no
| PHP version | 7.3
| Web server | Built-in
The text was updated successfully, but these errors were encountered:
I have a content type with a collection of sets. If I only add 1 set in that collection, i'm not able to iterates over that collection with for loop; the code inside the loop will never execute.
I suppose this happens because the array is never created if its just one set. An array should always be returned, this way the template developer doesn't need to duplicate code to catch the 1 set case.
| Relevant Bolt Version | version4.0.0 RC 17
| Install type | Composer install
| BC Break | yes/no
| PHP version | 7.3
| Web server | Built-in
The text was updated successfully, but these errors were encountered: