Skip to content

Unify value from noUiSlider #71

Closed
Closed
@lionel-bijaoui

Description

@lionel-bijaoui

There is a few problem with noUiSlider:

  • It can't dynamically add or remove an handle. It can't wait for the value from the model to know if this is a double handle or not. So we need an option to explicitly tell if this is double or not (like with rangeSlider). EDIT: done in rename dateTime to dateTimePicker and slider to rangeSlider #72
  • When using a single handle, noUiSlider format the data like this [Number, null]. It expect us to use slider.noUiSlider.get(). So, much like with date input, we need a formatValueToField and formatValueToModel to properly format data back and forth.

I'm on both issue and I will do a PR in the next days.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions