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

_linkedId model values not correctly setup on scale #110

Closed
danielghost opened this issue May 21, 2024 · 1 comment · Fixed by #111
Closed

_linkedId model values not correctly setup on scale #110

danielghost opened this issue May 21, 2024 · 1 comment · Fixed by #111
Assignees

Comments

@danielghost
Copy link
Contributor

In addition to adaptlearning/adapt-contrib-slider#204, setupModelItems is called before _setupLinkedModel, meaning the scale can be incorrectly displayed because the range values from the linked model are not used when setting _items.

@danielghost danielghost self-assigned this May 21, 2024
kirsty-hames pushed a commit that referenced this issue May 30, 2024
…#111)

* Fix: `linkedModel` values not correctly setup on scale when inherited (fixes #110).

* Restrict `_scaleStep` to a positive number in the latest schema. Amended `_linkedToId` validity check.

* Changed _scaleEnd schema default from 1 to 10.
github-actions bot pushed a commit that referenced this issue May 30, 2024
## [5.5.2](v5.5.1...v5.5.2) (2024-05-30)

### Fix

* `linkedModel` values not correctly setup on scale when inherited (#111) ([2db8a0e](2db8a0e)), closes [#111](#111) [#110](#110)
Copy link

🎉 This issue has been resolved in version 5.5.2 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

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