Skip to content

Query params does not work with computed property #9819

Closed
@bakura10

Description

@bakura10

Hi,

I have a case when I use Date objects as query params. However, I want them to be shown in day format (YYYY-mm-dd) in the URL. As Ember does not have any way (or did I miss it?) to deserialize an object when outputted as a URL, I'm forced to using a computed property, however it does not seem to work.

I've written a reproducible JSBin that shows the problem (on Ember 1.8.1): http://emberjs.jsbin.com/qijorojoci

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions