question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

caused by: noUiSlider (9.2.0): 'start' is required.

See original GitHub issue

<nouislider [connect]="true" [min]="0" [max]="15" [step]="1" [(ngModel)]="someRange"></nouislider> import { NouisliderComponent } from 'ng2-nouislider';

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:10 (1 by maintainers)

github_iconTop GitHub Comments

14reactions
rach12345commented, Mar 24, 2017

@theromie Define your someRange in corresponding ts file as: someRange=[1, 50]

This is the range you want your slider to cover. You might be missing either the syntax/spelling of this.

With ng2-nouislider, the major reason of getting “9.2.0 start is required” error is, the binding of [(ngModel)]. Once this is resolved, I believe your slider should work fine!

11reactions
skulpturcommented, Mar 20, 2017

It’s because of this line: https://github.com/tb/ng2-nouislider/blob/master/src/nouislider.ts#L91

Your someRange probably doesn’t have a default value or it doesn’t exist. Check for spelling.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How set start/end position ng2-nouislider? - Stack Overflow
Check this working Code. HTML' <nouislider start="startingRange" [connect]="true" [min]="25000" [max]="800000" [step]="77500" tabindex="9" ...
Read more >
nouislider - UNPKG
The CDN for nouislider. ... 130, // so that we do not compute anything if not needed ... 321, // Calculate what part...
Read more >
node_modules/nouislider - GitLab
noUiSlider is a lightweight JavaScript range slider. ... noUi-origin moving out of the page causes horizontal scrolling (#852); ... 9.2.0 (2017-01-17).
Read more >
How to add custom widgets (noUiSlider) - WordPress.org
I need a range slider from the custom widgets (https://surveyjs.… ... <script src="https://unpkg.com/nouislider@9.2.0/distribute/nouislider.js"></script>
Read more >
noUiSlider - Options and settings - Refreshless.com
There are many options to make noUiSlider do exactly what you need. ... The start option uses the slider's 'format' option to decode...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found