Closed
Description
Which platform(s) does your issue occur on?
Android
Please provide the following version numbers that your issue occurs with:
- CLI: 3.0.3
- Cross-platform modules: 3.1.0-2017-06-08-6861
- Runtime(s): tns-android 3.0.1
Please tell us how to recreate the issue in as much detail as possible.
Setting declaratively (or binding) minValue / maxValue properties resets the slider value to minValue. Slider value can be set declaratively or via binding -- it does not matter, result is the same. This works correctly on iOS.
Is there code involved? If so, please share the minimal amount of code needed to recreate the problem.
The issue is reproducible with some of the sliders in the Angular sdk examples here.
Btw, slider-examples.module.ts in the sdk examples repo is missing reference to NativeScriptFormsModule so out-of-the-box all bindings in the slider example do not work.
Each of the sliders in this example is initialized with slider value != minValue but when example is loaded some slider values erroneously are set to minValue on Android: