When instantiating Slider
, value
parameter is not automatically set to min
parameter value, when value
is not specified.
#3503
Labels
enhancement
Improvement/Optimization
Duplicate Check
Describe the bug
When instantiating
Slider
, ifvalue
parameter is not given, it raisesAssertionError
, as its value isNone
. It should be assigned the value ofmin
parameter, which defaults to0
if not given.Code
To reproduce
Expected behavior
It should set the
value
property tomin
property whenvalue
is not specified.Screenshots
No response
Operating System
Windows
Operating system details
Windows 10 22H2
Flet version
Name: flet Version: 0.23.0 Summary: Flet for Python - easily build interactive multi-platform apps in Python Home-page: Author: Appveyor Systems Inc. Author-email: [email protected] License: Apache-2.0 Location: C:\Users\Altaaf\python-backend-projects\todo-app.venv\Lib\site-packages Requires: cookiecutter, fastapi, flet-runtime, packaging, qrcode, uvicorn, watchdog Required-by:
Regression
I'm not sure / I don't know
Suggestions
No response
Additional details
No response
The text was updated successfully, but these errors were encountered: