Skip to content

Directive params casted into strings #3768

Closed

Description

@webzhongwang

Vue.js version

1.0.27

Description

Parameter data type is illegal to chang

Reproduction Link

jsfiddle

What is Expected?

Here is same example with version 1.0.26 where it works

Activity

  1. defcc commented on Sep 26, 2016

    @defcc
    Member

    seems sortDirectives function breaks it ?

    Object.keys(groupedMap) returns an array whose elements are strings

    When it sorts, the string type value breaks it.

  2. changed the title [-]Directive parameter data type is illegal to change[/-] [+]Directive params casted into strings[/+] on Sep 27, 2016
  3. juukie commented on Sep 27, 2016

    @juukie

    I'm having troubles with this too.

  4. johonunu commented on Sep 27, 2016

    @johonunu

    I am also having this problem. Directives get object params as "[Object]" (string representation).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions