Sitelet https://github.com/angular-slider/angularjs-slider/issues/487
Skip to content

Using stepsArray with MomentJS instances doesnt #487

Description

@evenicoulddoit

Demo: http://jsfiddle.net/5e78mxha/

The demo above works by using the vm.sliderOptions workaround, but using the vm.sliderOptionsBroken does not.

Expected behaviour

Using the stepsArray with MomentJS instances and using the translate option to translate the values to string literals should work.

Actual behaviour

Fails to bind correctly, though you can translate the values to string literals and use these are part of the stepsArray - the problem here is that the bindings are not what you'd what (i.e. the MomentJS instances).

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions