Skip to content

View Model 'sort' not working #466

@BrentH-Alnico

Description

@BrentH-Alnico

Hi Boris,

I am converting plain objects/arrays project to use View Models.

The sort function does not work when doing a simple conversion like this...

{^{for phones sort="number"}} to
{^{for phones() sort="number()"}}.

Of course, I can call a helper if needed...

Here is one of your modified samples...Phones should be sorted on initialization.
https://jsfiddle.net/alnico/5rmyaLfq/

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions