Skip to content

Variable Steps in ng-repeat Loop #109

@nwestbury

Description

@nwestbury

I'm an angular noob so sorry if this isn't an actual issue but rather misuse.

I need to create many sliders with different step sizes for each (varying from a small decimal number to large ints). I tried to put it in a ng-repeat loop but get a NaN when I put anything other than a hard-coded number in the step (except for start/end). When I replace att.step with "1", say it works fine.

See this behavior in this fiddle: FIDDLE.

Any suggestions or is this a bug?

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