You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This probably goes without saying, but I would expect the Spinner object to honor the softbounds if it is specified, otherwise it should honor the bounds.
When creating a Spinner widget from a param.Number I would have expected the start and end to be derived from the bounds of the param object.
I agree; that sounds like a bug!
This probably goes without saying, but I would expect the Spinner object to honor the softbounds if it is specified, otherwise it should honor the bounds.
Softbounds were designed for a slider widget where some bounds are required before displaying anything. For a spinner widget, I would expect softbounds to be ignored; they are only hints, and if the user wants the value to go outside the soft bounds, why not let them?
The
Spinner
widget allows you to set astart
andend
bound. The widget does not let a user set the number outside the bounds:When creating a
Spinner
widget from aparam.Number
I would have expected thestart
andend
to be derived from the bounds of the param object.However, in this case if a user tries to specify a number outside of the bounds the widget allows it and then it raises an error:
Even if you manually set the
start
andend
values in thefrom_param
call you get the same error:It seems like the
start
andend
values are being passed through:But if you set
start
andend
after the widget is created then it works as expected:The text was updated successfully, but these errors were encountered: