Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stepper setValue incomplete documentation #523

Open
mdb80 opened this issue Aug 3, 2021 · 0 comments
Open

Stepper setValue incomplete documentation #523

mdb80 opened this issue Aug 3, 2021 · 0 comments

Comments

@mdb80
Copy link

mdb80 commented Aug 3, 2021

Hi guys,

please add the complete documentation for stepper.

I lost a lot of hours trying to figure out why the stepper wasn't updating with the same value.

Finally, out of desperation, I went to search in the source code what was wrong.....et voila...

/src/core/components/stepper/stepper-class.js#L311

setValue(newValue, forceUpdate, withWraps) {

  • forceUpdate --> work perfect!
  • withWraps ---> ???

example:
stepper1.setValue(doutput.sw_auto.ih,true);

Best regards

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant