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
[Panel] Range field does not show default value on load #1445
Comments
I used the range slider in another project and found some more related glitches:
|
✅ |
@musterknabe did you add the range field/its default in the blueprint after the page got created? Defaults are only applied during the creation of a page. |
Yes I did. I was building my blueprint, while reloading the already created page. When creating a new page, after the blueprint, the default gets applied to the tooltip, too. But it's still strange, because the default value was applied to the slider itself correctly. Only the tooltip was missing it. |
Describe the bug
When a range field is added to a blueprint, the slider element reflects its current value correctly, but the right-sided label only displays the value after the slider knob has been moved.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
If a default value is set, the slider should behave like that number has been set automatically and not complain about an invalid field. I am aware, that this would mean that a permanent save bar will be displayed after a blueprint has changed, but I find it rather less intuitive if there is a default value, that requires user interaction for becoming saveable.
Screenshots
Kirby Version
3.0.0
Console output
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: